Sha256: f0064ee38eec9524a0ccd9f4e49391991e13b919f8b1e0f692619aa4e62d250d
Contents?: true
Size: 875 Bytes
Versions: 5
Compression:
Stored size: 875 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :spec do desc "Run all specs on multiple ruby versions (requires rvm)" task :portability do command = <<-BASH source ~/.rvm/scripts/rvm; rvm #{ENV['RUBIES'] || 'all'} do bundle exec rake spec BASH system "bash -c '#{command}'" end namespace :portability do desc 'Installs bundler/rake and runs bundle install for all rubies' task :prepare do # FIXME: This isn't working for me when it gets to JRuby, specs are running fine - RL command = <<-BASH source ~/.rvm/scripts/rvm; rvm #{ENV['RUBIES'] || 'all'} do gem install bundler rake; rvm #{ENV['RUBIES'] || 'all'} do bundle install BASH system "bash -c '#{command}'" end end end
Version data entries
5 entries across 5 versions & 3 rubygems
Version | Path |
---|---|
rainforest-guard-resque-0.0.6 | Rakefile |
guard-resque-scheduler-0.0.2 | Rakefile |
guard-resque-scheduler-0.0.1 | Rakefile |
guard-resque-0.0.5 | Rakefile |
guard-resque-0.0.4 | Rakefile |