File: Guardfile

package info (click to toggle)
ruby-airbrussh 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,704 kB
  • sloc: ruby: 1,575; makefile: 3; sh: 3
file content (6 lines) | stat: -rw-r--r-- 219 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
guard :minitest do
  # with Minitest::Unit
  watch(%r{^test/(.*)\/?(.*)_test\.rb$})
  watch(%r{^lib/(.*/)?([^/]+)\.rb$})     { |m| "test/#{m[1]}#{m[2]}_test.rb" }
  watch(%r{^test/minitest_helper\.rb$})  { "test" }
end