Sha256: 18a53af70c6a219c9d12ad7eb34ed88a8167552928aaeb41c54e43fccd2bb4e5
Contents?: true
Size: 534 Bytes
Versions: 24
Compression:
Stored size: 534 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib') require 'cucumber/rspec/disable_option_parser' 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
24 entries across 24 versions & 2 rubygems