guard-hydra/lib/guard/hydra/templates/Guardfile

11 lines
249 B
Plaintext
Raw Normal View History

2011-08-04 17:35:32 +00:00
guard 'hydra' do
# All spec files
2011-08-24 14:16:00 +00:00
watch(%r{^spec/**/*_spec.rb$})
# All lib files
watch(%r{^lib/(.*)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
# All app files for a Rails app
watch(%r{^app/(.*)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
2011-08-04 17:35:32 +00:00
end