Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 18 lines (15 sloc) 0.864 kB
e5d3797 @ryanb send email move notification even when receipient is online because i…
authored
1 # A sample Guardfile
2 # More info at https://github.com/guard/guard#readme
3
4 guard 'rspec', :version => 2 do
5 watch(%r{^spec/.+_spec\.rb})
6 watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7 watch('spec/spec_helper.rb') { "spec" }
8
9 # Rails example
10 watch('spec/spec_helper.rb') { "spec" }
11 watch('config/routes.rb') { "spec/routing" }
12 watch('app/controllers/application_controller.rb') { "spec/controllers" }
13 watch(%r{^spec/.+_spec\.rb})
14 watch(%r{^app/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
15 watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
16 watch(%r{^app/controllers/(.+)_(controller)\.rb}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
17 end
Something went wrong with that request. Please try again.