Sha256: 29082251c5537ec518c53bf3da52f6603bfbf668dc4384af18ee47376b53f1b1

Contents?: true

Size: 568 Bytes

Versions: 3

Compression:

Stored size: 568 Bytes

Contents

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

group :rspec do
  guard 'rspec', :cli => '-c', :version => 2 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

group :cucumber do
  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
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
penchant-0.1.2 Guardfile
penchant-0.1.1 Guardfile
penchant-0.1.0 Guardfile