Sha256: 68f0e8e9559a0c940b61db3f1594de16999569cf8449f5fd261ad2c60b27d405

Contents?: true

Size: 660 Bytes

Versions: 29

Compression:

Stored size: 660 Bytes

Contents

unless ENV['RUBY_CC_VERSION']
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:cucumber) do |t|
  profile = ENV['TRAVIS'] ? 'travis' : 'default'
  profile = 'javascript' if ENV['GHERKIN_JS_NATIVE']
  t.cucumber_opts = "--profile #{profile}"
end

namespace :cucumber do
  Cucumber::Rake::Task.new(:rcov, "Run Cucumber using RCov") do |t|
    t.cucumber_opts = "--profile default"
    t.rcov = RUBY_VERSION =~ /^1\.8/
    t.rcov_opts = %w{--exclude spec\/}
  end

  Cucumber::Rake::Task.new(:native_lexer, "Run Native lexer Cucumber features") do |t|
    t.cucumber_opts = "--profile native_lexer"
  end
  task :native_lexer => [:clean, :compile]
end
end

Version data entries

29 entries across 27 versions & 3 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/gherkin-2.12.2/tasks/cucumber.rake
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/gherkin-2.12.2/tasks/cucumber.rake
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/gherkin-2.12.2/tasks/cucumber.rake
gherkin-2.12.2 tasks/cucumber.rake
gherkin-2.12.2-x86-mswin32 tasks/cucumber.rake
gherkin-2.12.2-x86-mingw32 tasks/cucumber.rake
gherkin-2.12.2-java tasks/cucumber.rake
gherkin-2.12.1 tasks/cucumber.rake
gherkin-2.12.1-x86-mswin32 tasks/cucumber.rake
gherkin-2.12.1-x86-mingw32 tasks/cucumber.rake
gherkin-2.12.1-java tasks/cucumber.rake
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/gherkin-2.11.6/tasks/cucumber.rake
gherkin-2.12.0 tasks/cucumber.rake
gherkin-2.12.0-x86-mingw32 tasks/cucumber.rake
gherkin-2.12.0-x86-mswin32 tasks/cucumber.rake
gherkin-2.12.0-java tasks/cucumber.rake
gherkin-2.11.8 tasks/cucumber.rake
gherkin-2.11.8-x86-mswin32 tasks/cucumber.rake
gherkin-2.11.8-x86-mingw32 tasks/cucumber.rake
gherkin-2.11.8-java tasks/cucumber.rake