Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.6.1
Fetching contributors…

Cannot retrieve contributors at this time

executable file 16 lines (15 sloc) 0.519 kb
#!/usr/bin/env ruby
$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib')
require 'cucumber/rspec_neuter'
require 'cucumber/cli/main'
begin
# The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
failure = Cucumber::Cli::Main.execute(ARGV.dup)
Kernel.exit(failure ? 1 : 0)
rescue SystemExit => e
Kernel.exit(e.status)
rescue Exception => e
STDERR.puts("#{e.message} (#{e.class})")
STDERR.puts(e.backtrace.join("\n"))
Kernel.exit(1)
end
Jump to Line
Something went wrong with that request. Please try again.