Skip to content

Commit

Permalink
minor: commenting and vim hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfallshaw committed Jun 28, 2008
1 parent 8a8587c commit 7f4d343
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions autotest
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# vim:filetype=ruby
%w[autotest/growl autotest/timestamp autotest/redgreen].each {|l| require l}

# Ignore some dirs (speed hack)
Autotest.add_hook :initialize do |autotest|
[/\.svn/, /\.hg/, /\.git/, /^\.\/vendor/, /^\.\/doc/].each {|exception| autotest.add_exception(exception)}
end

# If called with arg, watch that dir and matching test dir
Autotest.add_hook :initialize do |at|
unless ARGV.empty?
if File.directory?("spec")
Expand Down

0 comments on commit 7f4d343

Please sign in to comment.