Sha256: 59e0974672b970728e403ba9fbfb3bd5dd1c1264b257c9b19b6ffb35bab02f46

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

#!/usr/bin/env ruby
$: << File.dirname(__FILE__)

begin 
  require 'common'
rescue LoadError
  require 'bin/common'
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auxesis-cucumber-nagios-0.4.3 lib/generators/project/bin/cucumber
auxesis-cucumber-nagios-0.4.4 lib/generators/project/bin/cucumber