Sha256: 4b0a2c476ada79ce35ff82b4175f2d35c280f87893af8ff1500629d62d0ac546

Contents?: true

Size: 761 Bytes

Versions: 6

Compression:

Stored size: 761 Bytes

Contents

# Setup bundler to avoid having to run bundle exec all the time.
require 'rubygems'
require 'bundler/setup'

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

Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
  t.warning = false
end

# By default run tests against all appraisals
if !ENV["APPRAISAL_INITIALIZED"] && !ENV["TRAVIS"]
  require 'appraisal'
  task default: :appraisal
else
  task default: :test
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rocketjob-3.3.0 Rakefile
rocketjob-3.2.1 Rakefile
rocketjob-3.2.0 Rakefile
rocketjob-3.1.0 Rakefile
rocketjob-3.0.5 Rakefile
rocketjob-3.0.4 Rakefile