Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env ruby
- args = ARGV.map do |arg|
- name, line = *arg.split(':')
- line = ":#{line}" if line
- "features/#{name}.feature#{line}"
- end
- script = if File.executable?('script/cucumber')
- 'script/cucumber'
- else
- 'cucumber'
- end
- exec(script, *args)
Add Comment
Please, Sign In to add comment