Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Halfassed .autotest file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarnette committed Oct 30, 2008
1 parent 515fe4c commit 77ff324
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .autotest
@@ -0,0 +1,14 @@
Autotest.add_hook(:initialize) do |at|
at.clear_mappings
at.find_directories = %w(lib test)

at.add_exception("test/helper.rb")

at.add_mapping(/^lib\/.*\.rb$/) do |file, _|
at.files_matching(/^test\/.*_test\.rb$/)
end

at.add_mapping(/^test\/.*_test\.rb$/) do |file, _|
file
end
end

0 comments on commit 77ff324

Please sign in to comment.