Sha256: ad404a8a852ca7b73fe6763c6893c9326adfcc55c28475d96e2ef855645d2a2f

Contents?: true

Size: 648 Bytes

Versions: 9

Compression:

Stored size: 648 Bytes

Contents

require 'bundler/gem_tasks'
require "bundler/setup"

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

RSpec::Core::RakeTask.new(:rcov)

task :default => :spec

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end

desc "tag, push gem, push to github"
task :prerelease do
  require 'specjour'
  command = %(
    git tag v#{Specjour::VERSION} &&
    rake build &&
    git push &&
    gem push pkg/specjour-#{Specjour::VERSION}.gem &&
    git push --tags
  )
  puts command
  puts %x(#{command})
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
specjour-0.7.0 Rakefile
specjour-0.6.6 Rakefile
specjour-0.6.5 Rakefile
specjour-0.6.4 Rakefile
specjour-0.6.3 Rakefile
specjour-0.6.2 Rakefile
specjour-0.6.1 Rakefile
specjour-0.6.0 Rakefile
specjour-0.5.6 Rakefile