Sha256: 026cd62789b99b7260433a78c2b4f22aa59f45d508840cc38bc153384258d7f7
Contents?: true
Size: 777 Bytes
Versions: 6
Compression:
Stored size: 777 Bytes
Contents
require 'rubygems' # require 'appraisal' require 'rake' begin require 'rspec/core/rake_task' desc "Run RSpec" RSpec::Core::RakeTask.new do |t| t.verbose = false end rescue LoadError puts "You should run rake spec:install in order to install all corresponding gems!" end task :default => :spec namespace :spec do task :install do puts `bundle install --gemfile=gemfiles/Gemfile.rails3_0` puts `bundle install --gemfile=gemfiles/Gemfile.rails3_1` end task :all do ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_1', __FILE__) Rake::Task["spec"].execute ENV['BUNDLE_GEMFILE'] = File.expand_path('../gemfiles/Gemfile.rails3_0', __FILE__) Rake::Task["spec"].execute end end
Version data entries
6 entries across 6 versions & 1 rubygems