Sha256: 79dc59dbaeb5ef481ea96fe10f0564a63b8d28e89903256b2779952f5b3d0294

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

#!/usr/bin/env ruby

STDERR.sync = STDOUT.sync = true

require 'clockwork'

usage = "clockwork <clock.rb>"
file = ARGV.shift or abort usage

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

require file

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

Clockwork::run

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
clockwork-0.5.4 bin/clockwork
clockwork-0.5.3 bin/clockwork
clockwork-0.5.2 bin/clockwork