File: Guardfile

package info (click to toggle)
docdiff 0.5.0%2Bgit20160313-1
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 896 kB
  • ctags: 722
  • sloc: ruby: 14,138; makefile: 98; lisp: 33; sh: 26
file content (8 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard 'test', :all_on_start => true do
   watch(%r{^lib/(.+)\.rb$})     { |m| "test/#{m[1]}_test.rb" }
   watch(%r{^test/.+_test\.rb$})
   watch('test/test_helper.rb')  { "test" }
end