Sha256: 5e3592a5324036a27658b6dbfc47254da7e0429eea792f15ecf60653d0e5c102

Contents?: true

Size: 723 Bytes

Versions: 4

Compression:

Stored size: 723 Bytes

Contents

# A sample Guardfile
# More info at https://github.com/guard/guard#readme


guard :rspec, all_on_start: true, all_after_pass: true,  cmd: 'rspec --color --format documentation' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})  { "spec" }
  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

4 entries across 4 versions & 1 rubygems

Version Path
RDee-0.4 Guardfile
RDee-0.3 Guardfile
RDee-0.2 Guardfile
RDee-0.1 Guardfile