Sha256: 6d596b5f1c7f41e7a08286fcac319b34075faf54acf79e903a0edf34cd41f61b
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 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 = true t.set_profile_for_current_ruby end task :cucumber => :features
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rs_232-2.0.7 | gem_tasks/cucumber.rake |
rs_232-2.0.5 | gem_tasks/cucumber.rake |
rs_232-2.0.4 | gem_tasks/cucumber.rake |