penchant/Guardfile

10 lines
268 B
Plaintext
Raw Permalink Normal View History

2011-08-16 15:11:11 +00:00
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
2011-08-18 16:50:14 +00:00
guard 'rspec', :cli => '-c', :version => 2 do
2011-08-16 15:11:11 +00:00
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
2011-08-17 18:06:13 +00:00