Skip to content

Commit 313bbf1

Browse files
committed
conditional aruba java deps
1 parent 6475ebd commit 313bbf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cucumber.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<%
22
base_opts = '--require features/step_definitions --require features/support'
3+
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'Cucumber::Formatter::Fuubar'} --strict"
34
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
45
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'Cucumber::Formatter::Fuubar'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
5-
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'Cucumber::Formatter::Fuubar'} --strict --require features/step_definitions --require features/support"
66
77
exclusions = []
88
exclusions << "--tags ~@exclude-#{RUBY_VERSION.split('.').first(2).join}"

features/support/env.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
require 'ruby-debug' if !defined?(RUBY_ENGINE) && RUBY_VERSION != '1.9.3' && !ENV['CI']
66

77
require 'aruba/cucumber'
8-
require 'aruba/jruby'
8+
require 'aruba/jruby' if RUBY_PLATFORM == 'java'
99

1010
additional_paths = []
1111
Before('@rspec-1') do

0 commit comments

Comments
 (0)