Sha256: 2ef80380cd1ce789f60a9a6d6169d1632d8a7c4819f6b91f51cb82ee7a6d956d

Contents?: true

Size: 447 Bytes

Versions: 9

Compression:

Stored size: 447 Bytes

Contents

guard 'rspec', :cmd => 'bundle exec rspec' 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' 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'
  }
end

# vim: syntax=ruby

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
csl-1.4.5 Guardfile
csl-1.4.4 Guardfile
csl-1.4.3 Guardfile
csl-1.4.2 Guardfile
csl-1.4.1 Guardfile
csl-1.4.0 Guardfile
csl-1.3.2 Guardfile
csl-1.3.1 Guardfile
csl-1.3.0 Guardfile