Sha256: 2d662d0558b7e859e5dddb8417d694c1d7a928f259194af23b88384a42f9fdfd

Contents?: true

Size: 758 Bytes

Versions: 16

Compression:

Stored size: 758 Bytes

Contents

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

guard 'rspec', :cli => '--color --format Fuubar' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/fig_newton/#{m[1]}_spec.rb" }
  watch(%r{^(.+)\.rb$})     { |m| "spec/fig_newton/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

guard 'cucumber', :notification => true, :cli => '--profile default' 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{^features/yaml/.+$})             { 'features' }
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fig_newton-1.0 Guardfile
fig_newton-0.15 Guardfile
fig_newton-0.14 Guardfile
fig_newton-0.13 Guardfile
fig_newton-0.12 Guardfile
fig_newton-0.11 Guardfile
fig_newton-0.10 Guardfile
fig_newton-0.9 Guardfile
fig_newton-0.8 Guardfile
fig_newton-0.7 Guardfile
fig_newton-0.6 Guardfile
fig_newton-0.5 Guardfile
fig_newton-0.4 Guardfile
fig_newton-0.3 Guardfile
fig_newton-0.2 Guardfile
fig_newton-0.1 Guardfile