Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 587 Bytes
guard 'cucumber' do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end
guard 'rspec', :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^scrolls/(.+)\.rb$}) { |m| "spec/appscrolls/scrolls/sanity_spec.rb" }
watch(%r{^lib/appscrolls/(.+)\.rb$}) { |m| "spec/appscrolls/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
guard 'bundler' do
watch('Gemfile')
watch(/^.+\.gemspec/)
end