Sha256: 2dab216227d34a450d1e917f82f10e657ebb7b323734387672653b4bb362f738

Contents?: true

Size: 980 Bytes

Versions: 4

Compression:

Stored size: 980 Bytes

Contents

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

APP_RAKEFILE = File.expand_path('../rjmc/Rakefile', __FILE__)
load 'rails/tasks/engine.rake'

require 'rake/testtask'
require_relative 'lib/rocket_job_mission_control/version'

task :gem do
  system 'gem build rocketjob_mission_control.gemspec'
end

task publish: :gem do
  system "git tag -a v#{RocketJobMissionControl::VERSION} -m 'Tagging #{RocketJobMissionControl::VERSION}'"
  system 'git push --tags'
  system "gem push rocketjob_mission_control-#{RocketJobMissionControl::VERSION}.gem"
  system "rm rocketjob_mission_control-#{RocketJobMissionControl::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: 'app:appraisal'
else
  task default: :test
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rocketjob_mission_control-3.1.0 Rakefile
rocketjob_mission_control-3.0.3 Rakefile
rocketjob_mission_control-3.0.2 Rakefile
rocketjob_mission_control-3.0.1 Rakefile