Sha256: 7f56d668eaebeac716e721a4f1550425f63974419954771d023d0093afade41d

Contents?: true

Size: 853 Bytes

Versions: 22

Compression:

Stored size: 853 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, :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

22 entries across 22 versions & 1 rubygems

Version Path
page-object-0.9.3 Guardfile
page-object-0.9.2 Guardfile
page-object-0.9.1 Guardfile
page-object-0.9.0 Guardfile
page-object-0.8.10 Guardfile
page-object-0.8.9 Guardfile
page-object-0.8.8 Guardfile
page-object-0.8.7 Guardfile
page-object-0.8.6.1 Guardfile
page-object-0.8.6 Guardfile
page-object-0.8.5 Guardfile
page-object-0.8.4 Guardfile
page-object-0.8.3 Guardfile
page-object-0.8.2 Guardfile
page-object-0.8.1 Guardfile
page-object-0.8 Guardfile
page-object-0.7.6 Guardfile
page-object-0.7.5.1 Guardfile
page-object-0.7.5 Guardfile
page-object-0.7.4 Guardfile