Sha256: e10ebfd0cd73c0b5593e77c3c994810c70e31071002438e1ad43e0e2774ed61e

Contents?: true

Size: 602 Bytes

Versions: 11

Compression:

Stored size: 602 Bytes

Contents

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

require_relative 'lib/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

11 entries across 11 versions & 1 rubygems

Version Path
rocketjob-2.0.0 Rakefile
rocketjob-2.0.0.rc3 Rakefile
rocketjob-2.0.0.rc2 Rakefile
rocketjob-2.0.0.rc1 Rakefile
rocketjob-1.3.0 Rakefile
rocketjob-1.2.1 Rakefile
rocketjob-1.2.0 Rakefile
rocketjob-1.1.3 Rakefile
rocketjob-1.1.2 Rakefile
rocketjob-1.1.1 Rakefile
rocketjob-1.1.0 Rakefile