Created
June 29, 2011 13:03
-
-
Save thedelchop/1053780 to your computer and use it in GitHub Desktop.
Autotest setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Autotest.add_hook :initialize do |at| | |
if ARGV.empty? | |
%w{.git test vendor rerun.txt tmp public/system sqlite3 log/development.log log/production.log log/test.log log/server.log}.each {|exception| at.add_exception(exception)} | |
else | |
at.find_directories = ARGV.dup | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment