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.7.3 | Guardfile |
page-object-0.7.2 | Guardfile |