Sha256: 523322c53d457cb59e4ff8a1a431a24e53a930f4129bd6d3859b71e9cac72006
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
require 'cucumber/rake/task' require 'cucumber/platform' class Cucumber::Rake::Task def set_profile_for_current_ruby self.profile = if Cucumber::JRUBY Cucumber::WINDOWS ? 'jruby_win' : 'jruby' elsif Cucumber::WINDOWS_MRI 'windows_mri' elsif Cucumber::RUBY_1_9 'ruby_1_9' elsif Cucumber::RUBY_2_0 'ruby_2_0' end end end Cucumber::Rake::Task.new(:features) do |t| t.fork = false t.set_profile_for_current_ruby end Cucumber::Rake::Task.new(:legacy_features) do |t| t.fork = false t.cucumber_opts = %w{legacy_features} t.set_profile_for_current_ruby t.rcov = ENV['RCOV'] end task :cucumber => [:features, :legacy_features]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cucumber-1.2.5 | gem_tasks/cucumber.rake |
cucumber-1.2.3 | gem_tasks/cucumber.rake |
cucumber-1.2.2 | gem_tasks/cucumber.rake |