Sha256: 97b5a1f5464428040f4dc1b4aed21141db9a134fb50f3c5f4344a1985c94de75

Contents?: true

Size: 302 Bytes

Versions: 6

Compression:

Stored size: 302 Bytes

Contents

#!/usr/bin/env ruby

STDERR.sync = STDOUT.sync = true

require File.expand_path('../../lib/clockwork', __FILE__)

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

6 entries across 6 versions & 1 rubygems

Version Path
clockwork-0.5.1 bin/clockwork
clockwork-0.5.0 bin/clockwork
clockwork-0.4.1 bin/clockwork
clockwork-0.4.0 bin/clockwork
clockwork-0.3.4 bin/clockwork
clockwork-0.3.3 bin/clockwork