/usr/lib/ruby/1.8/autotest/heckle.rb is in libheckle-ruby1.8 1.4.3-2.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # -*- ruby -*-
module Autotest::Heckle
@@flags = []
@@klasses = []
def self.flags; @@flags; end
def self.klasses; @@klasses; end
Autotest.add_hook :all_good do |at|
heckle = "heckle" + (@@flags.empty? ? '' : " #{flags.join(' ')}")
cmd = @@klasses.map { |klass| "#{heckle} #{klass}" }.join(" && ")
system cmd
end
end
|