Sha256: 3f51214be36cb2948d820ab8568f012d97e29fd0033d0ad5860f6e3be174a57b

Contents?: true

Size: 493 Bytes

Versions: 8

Compression:

Stored size: 493 Bytes

Contents

group 'rescpos' do
  guard 'bundler' do
    watch('Gemfile')
  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

  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
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rescpos-0.0.9 Guardfile
rescpos-0.0.8 Guardfile
rescpos-0.0.7 Guardfile
rescpos-0.0.6 Guardfile
rescpos-0.0.5 Guardfile
rescpos-0.0.3 Guardfile
rescpos-0.0.2 Guardfile
rescpos-0.0.1 Guardfile