Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.481 kb
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:cucumber) do |t|
t.fork = true
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end
require 'appraisal'
desc 'Run the test suite'
task :default do |t|
if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
exec 'rake cucumber'
else
Rake::Task['appraise'].execute
end
end
task :appraise => ['appraisal:install'] do |t|
exec 'rake appraisal'
end
Jump to Line
Something went wrong with that request. Please try again.