Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 14 lines (11 sloc) 0.374 kb
eec5ff3 @mikesea initial commit
mikesea authored
1 # A sample Guardfile
2 # More info at https://github.com/guard/guard#readme
3
4 guard 'puma' do
5 watch('Gemfile.lock')
6 watch(%r{^config|lib|api/.*})
7 end
8
9 guard 'minitest', :test_file_patterns => '*_test.rb' do
10 watch(%r|^test/(.*)_test\.rb|)
11 watch(%r{^api/(.*/)?([^/]+)\.rb$}) { |m| "test/api/#{m[1]}#{m[2]}_test.rb" }
12 watch(%r|^test/test_helper\.rb|) { "test" }
13 end
Something went wrong with that request. Please try again.