Sha256: e7ba35d6bf1fac579862788cde05fd51914047f712c3e250dfbeaed513adb434

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

<%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format progress features" : "--format pretty #{rerun}"
std_opts = "--format progress features --tags ~@wip"
std_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)
begin
  require 'rspec/expectations'
  std_opts << ' --tags ~@rspec1'
rescue LoadError
  # rspec 1
  std_opts << ' --tags ~@rspec2'
end
wip_opts = "--color --tags @wip:3"
wip_opts << ",@wip-jruby:3" if defined?(JRUBY_VERSION)

legacy_opts = ''
legacy_opts << " --tags ~@wire" if defined?(JRUBY_VERSION)
legacy_opts << " --tags ~@wip-jruby" if defined?(JRUBY_VERSION)
%>
default: <%= std_opts %> --tags ~@jruby --dotcucumber features/.cucumber
jruby: <%= std_opts %> --tags ~@spork --tags ~@wire
jruby_win: <%= std_opts %> --tags ~@spork --tags ~@wire CUCUMBER_FORWARD_SLASH_PATHS=true
windows_mri: <%= std_opts %> --tags ~@jruby --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
ruby_1_8_7: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_8_7
ruby_1_9: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
ruby_2_0: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
ruby_2_1: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
ruby_2_2: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
wip: --wip <%= wip_opts %> features
none: --format pretty
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
legacy: legacy_features -r legacy_features -f progress --tags ~@spork <%= legacy_opts %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-1.3.20 cucumber.yml
cucumber-1.3.19 cucumber.yml
cucumber-1.3.18 cucumber.yml