Sha256: 98fdf409e84e584287e1929156f861d8de690d7d7ddf3e3b4789bf107ad37df1

Contents?: true

Size: 871 Bytes

Versions: 1

Compression:

Stored size: 871 Bytes

Contents

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


guard 'rspec', :cli => '--color --format Fuubar' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^lib/page-object/platforms/(.+)/.+\.rb$}) do |m|
    ["spec/page-object/platforms/#{m[1]}/", "spec/page-object/page-object_spec.rb"]
  end
  watch('spec/spec_helper.rb')  { "spec" }
end

guard 'cucumber', :notification => true, :all_after_pass => false, :all_on_start => false, :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{^cucumber.yml$})                 { features }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
page-object-0.7.0 Guardfile