Sha256: 69325cb82812870638d6aa908f88f26102b17d4d8fd1198b2679a4d576b0022c
Contents?: true
Size: 371 Bytes
Versions: 8
Compression:
Stored size: 371 Bytes
Contents
#!/usr/bin/env ruby STDERR.sync = STDOUT.sync = true require File.expand_path('../../lib/stalker', __FILE__) include Stalker usage = "stalk <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 Stalker.work jobs
Version data entries
8 entries across 8 versions & 2 rubygems