File: .autotest

package info (click to toggle)
ruby-shoulda 4.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 300 kB
  • sloc: ruby: 784; sh: 45; makefile: 4
file content (13 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
Autotest.add_hook :initialize do |at|
  at.add_mapping(%r{^lib/\w.*\.rb}) do
    at.files_matching(%r{^test/*/\w.*_test\.rb})
  end

  at.add_mapping(%r{^test/rails_root/\w.*}) do
    at.files_matching(%r{^test/*/\w.*_test\.rb})
  end

  at.add_exception(%r{.svn})
  at.add_exception(%r{.log$})
  at.add_exception(%r{^.autotest$})
end