Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (9 sloc) 335 Bytes
Autotest.add_hook(:initialize) do |at|
at.add_exception %r{^\.git} # ignore Version Control System
at.add_exception %r{^./tmp} # ignore temp files, lest autotest will run again, and again...
at.add_exception "rerun.txt"
at.add_mapping(%r{^lib/.*\.rb$}) do |f, _|
Dir['spec/**/*.rb']
end
nil
end