Sha256: 283ab633f077171416ef46cd89f736d26628fb63fb0da04c9f46f3bfa2382e1a

Contents?: true

Size: 631 Bytes

Versions: 1

Compression:

Stored size: 631 Bytes

Contents

guard :bundler do
  watch('Gemfile')
  watch(/^.+\.gemspec/)
end

guard 'cucumber', cli: "--format pretty" 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{^bin/fix_iphone_picture_orientation}) {'features'}
end

guard :rspec, all_on_start: true, all_after_pass: true, cmd: "bundle exec rspec -f doc -c" do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$})     { |m| "spec/lib/#{m[1]}_spec.rb" }
  watch('spec/spec_helper.rb')  { "spec" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fix_iphone_picture_orientation-0.0.1 Guardfile