Sha256: 1550b1b255993ee7c7466560f503fa544b2afac184bf2a4f2c2abbd28dcb46aa

Contents?: true

Size: 456 Bytes

Versions: 1

Compression:

Stored size: 456 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 'sensei'
begin
  failure = run_dojo(RealGit.new)
  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

1 entries across 1 versions & 1 rubygems

Version Path
sensei-0.0.1 bin/sensei