Sha256: 72811b2704356e394ff5120cd2ed44da60f993c244f2a5d64915a54dc5465cfd

Contents?: true

Size: 722 Bytes

Versions: 8

Compression:

Stored size: 722 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/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


Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ADB-0.5.6 Guardfile
ADB-0.5.5 Guardfile
ADB-0.5.4 Guardfile
ADB-0.5.3 Guardfile
ADB-0.5.2 Guardfile
ADB-0.5.1 Guardfile
ADB-0.5 Guardfile
ADB-0.4 Guardfile