Sha256: c48d0fe4c3c96ee1f5665771fe83860859109b3d10b4a36b2216adfc58e1ce26

Contents?: true

Size: 478 Bytes

Versions: 2

Compression:

Stored size: 478 Bytes

Contents

$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'cucumber/rake/task'
require 'cucumber/platform'

Cucumber::Rake::Task.new do |t|
  if(ENV["RUN_CODE_RUN"])
    t.profile = 'run_code_run'
  elsif(Cucumber::JRUBY)
    t.profile = 'jruby'
  elsif(Cucumber::WINDOWS_MRI)
    t.profile = 'windows_mri'
  elsif(Cucumber::RUBY_1_9)
    t.profile = 'ruby_1_9'
  end
  t.rcov = ENV['RCOV']
end

Cucumber::Rake::Task.new('pretty') do |t|
  t.cucumber_opts = %w{--format pretty}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumber-0.6.1 gem_tasks/features.rake
cucumber-0.6.0 gem_tasks/features.rake