Sha256: 720a38763d6f702dac92559e60b5c3abe6143c9376777e3af483b1b9fe313db1
Contents?: true
Size: 513 Bytes
Versions: 73
Compression:
Stored size: 513 Bytes
Contents
# -*- 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
Version data entries
73 entries across 73 versions & 7 rubygems