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