Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 832c8b96b6
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (14 sloc) 0.722 kb
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec', :version => 2, :cli => '--color --format Fuubar' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
guard 'cucumber', :notification => true, :all_after_pass => false, :cli => '--profile focus' 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' }
watch(%r{^lib/.+\.rb$}) { "features" }
watch(%r{^cucumber.yml$}) { "features" }
end
Jump to Line
Something went wrong with that request. Please try again.