diff options
Diffstat (limited to '.autotest')
-rw-r--r-- | .autotest | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/.autotest b/.autotest deleted file mode 100644 index 19ea6ecbe6..0000000000 --- a/.autotest +++ /dev/null @@ -1,26 +0,0 @@ -# -*- ruby -*- - -# require 'autotest/restart' - -ENV['GEM_PATH'] = "tmp/isolate/ruby-1.8" - -module Autotest::Restart - Autotest.add_hook :updated do |at, *args| - if args.flatten.include? ".autotest" then - warn "Detected change to .autotest, restarting" - cmd = %w(autotest) - cmd << " -v" if $v - cmd += ARGV - - exec(*cmd) - end - end -end - -Autotest.add_hook :initialize do |at| - at.add_exception 'tmp' - at.testlib = "minitest/autorun" - - at.find_directories = ARGV unless ARGV.empty? -end - |