Sha256: 45fe9c02a063f26f1858f453e61deaae8c69c18729f6c0c0f93975a9abc7888a

Contents?: true

Size: 651 Bytes

Versions: 5

Compression:

Stored size: 651 Bytes

Contents

require 'rake/clean'
require 'rake/testtask'

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require 'rocket_job/version'

task :gem do
  system "gem build rocketjob.gemspec"
end

task :publish => :gem do
  system "git tag -a v#{RocketJob::VERSION} -m 'Tagging #{RocketJob::VERSION}'"
  system "git push --tags"
  system "gem push rocketjob-#{RocketJob::VERSION}.gem"
  system "rm rocketjob-#{RocketJob::VERSION}.gem"
end

desc "Run Test Suite"
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/**/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

task :default => :test

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rocketjob-1.0.0 Rakefile
rocketjob-0.9.1 Rakefile
rocketjob-0.9.0 Rakefile
rocketjob-0.8.0 Rakefile
rocketjob-0.7.0 Rakefile