Sha256: 254d4f21700613dbe029e3ecd5d357afd6bbc02c00e81ef1688c63a127f476fd

Contents?: true

Size: 674 Bytes

Versions: 1

Compression:

Stored size: 674 Bytes

Contents

# frozen_string_literal: true

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

guard 'rspec', cmd: 'rspec --color --format Fuubar' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { 'spec' }
  watch('spec/spec_helper.rb')  { 'spec' }
end

guard 'cucumber', notification: true, cli: '--profile focus' 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

1 entries across 1 versions & 1 rubygems

Version Path
new_data_magic-1.2 Guardfile