Sha256: 778c9495b8837b720cfb10386fe8939ec8a0d15f3a9f5702472c97f848bbaf8c
Contents?: true
Size: 419 Bytes
Versions: 7
Compression:
Stored size: 419 Bytes
Contents
#!/usr/bin/env ruby # -*- encoding: utf-8 -*- def shut_down puts "\nShutting down gracefully..." sleep 1 end Signal.trap("INT") { shut_down exit } $stdout.sync = true $stderr.sync = true $LOAD_PATH.unshift File.join(File.dirname(__FILE__), %w[.. lib]) require "wombat/cli" begin Runner.new(Options.parse(ARGV)).start rescue => ex $stderr.puts ">>> #{ex.message}" exit(($? && $?.exitstatus) || 99) end
Version data entries
7 entries across 7 versions & 1 rubygems