Sha256: d9f9e4649424add72b61dd421f7f88aa691b407e76e7ea91046514d86b5d399c

Contents?: true

Size: 562 Bytes

Versions: 13

Compression:

Stored size: 562 Bytes

Contents

#!/usr/bin/env ruby
# Add '.rb' to work around a bug in IronRuby's File#dirname
$:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')

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

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.3.3.3 bin/cucumber
aslakhellesoy-cucumber-0.3.3.4 bin/cucumber
aslakhellesoy-cucumber-0.3.3.5 bin/cucumber
aslakhellesoy-cucumber-0.3.3.6 bin/cucumber
aslakhellesoy-cucumber-0.3.4 bin/cucumber
aslakhellesoy-cucumber-0.3.5 bin/cucumber
aslakhellesoy-cucumber-0.3.6.1 bin/cucumber
aslakhellesoy-cucumber-0.3.7.1 bin/cucumber
aslakhellesoy-cucumber-0.3.7 bin/cucumber
cucumber-0.3.5 bin/cucumber
cucumber-0.3.4 bin/cucumber
cucumber-0.3.6 bin/cucumber
cucumber-0.3.7 bin/cucumber