Sha256: 781b08b860e7aad3b0e906b306dd44cf1a7fb1740fd1377af6d74d375ffaada3

Contents?: true

Size: 471 Bytes

Versions: 6

Compression:

Stored size: 471 Bytes

Contents

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

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


guard '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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rjobs-0.3.3.alpha Guardfile
rjobs-0.3.2.alpha Guardfile
rjobs-0.3.1.alpha Guardfile
rjobs-0.3.0.alpha Guardfile
rjobs-0.2.0.alpha Guardfile
rjobs-0.1.0.alpha Guardfile