Sha256: c5f35f09f5ecdfda71d228217bf915b887cd754aad19baab2641b3241ff8d2b3
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 KB
Contents
# -*- encoding: utf-8 -*- require 'rubygems' require 'bundler' Bundler::GemHelper.install_tasks require 'colored' require 'rake' require 'rdoc/task' require 'rake/testtask' require 'rspec/core/rake_task' namespace :spec do desc "Run the unit specs" RSpec::Core::RakeTask.new(:units) do |t| t.pattern = "./spec/lib/**/*_spec.rb" end end task :test do puts puts "To run integration specs:" puts " $ script/for_all_test_apps bundle exec rake" puts puts "To run integration specs in a Ruby 1.9 environment:" puts " $ script/for_all_test_apps bundle exec rake" puts puts "To run integration specs in a Ruby 2.0 environment:" puts " $ RUBY_COMPATIBILITY=2.0 script/for_all_test_apps bundle exec rake" puts puts "To run integration specs in a Ruby 2.1 environment:" puts " $ RUBY_COMPATIBILITY=2.1 script/for_all_test_apps bundle exec rake" puts puts "To run integration specs in a Ruby 2.2 environment:" puts " $ RUBY_COMPATIBILITY=2.2 script/for_all_test_apps bundle exec rake" puts puts "To run unit specs:" puts " $ bundle exec rake spec:units" puts puts "You may need to run this first before the integration specs will pass:" puts " $ script/for_all_test_apps bundle install" puts end task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tabulous-2.1.3 | Rakefile |
tabulous-2.1.2 | Rakefile |