Sha256: d3e5f614334852e49c10a3494a385443680e87fe62dcc85de7d4455220c79d7a

Contents?: true

Size: 717 Bytes

Versions: 3

Compression:

Stored size: 717 Bytes

Contents

# 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/#{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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gametel-0.3 Guardfile
gametel-0.2 Guardfile
gametel-0.1 Guardfile