Skip to content

Instantly share code, notes, and snippets.

@masaki
Created July 25, 2009 13:16
Show Gist options
  • Save masaki/154794 to your computer and use it in GitHub Desktop.
Save masaki/154794 to your computer and use it in GitHub Desktop.
Autotest.add_hook :initialize do |at|
# Version Control
%w[ .svn .git .hg ].each { |exception| at.add_exception(exception) }
# Temporary files
%w[ \.DS_Store #$ ].each { |exception| at.add_exception(%r%#{exception}%) }
# Rails
%w[ log tmp vendor db ].each { |exception| at.add_exception(exception) }
# Reporting
%w[ coverage ].each { |exception| at.add_exception(exception) }
%w[ spec/.+\.opts spec/.+\.html ].each { |exception| at.add_exception(%r%#{exception}%) }
%w[ features/.+\.html ].each { |exception| at.add_exception(%r%#{exception}%) }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment