Sha256: e4c2cb8dea0b5902dba8ce90db2e4c357ec1680715e4dc82f3a2a5ac77682dc6

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

#!/usr/bin/env ruby
STDERR.sync = STDOUT.sync = true

require "hawking"
extend Hawking

usage = "hawking <jobs.rb> [<job>[,<job>,..]]"

file = ARGV.shift or abort usage
jobs = ARGV.shift.split(',') rescue nil

file = "./#{file}" unless file.match(/^[\/.]/)

require file

trap("INT") do
  puts "\rExiting"
  exit
end

Hawking.run

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hawking-0.1 bin/hawking