Sha256: 0162c71085f79a644115df23e3996d1e696b4a32fe269340f8259352cf4377d6

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

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

guard 'cucumber', cli: '--profile default --color --format progress' do
  watch("lib/ruby_ami/lexer.rb")                        { 'features' }
  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' }
end

guard 'rake', task: 'benchmark' do
  watch("lib/ruby_ami/lexer.rb")
  watch(/benchmarks\/*/)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_ami-3.0.0 Guardfile
ruby_ami-2.4.0 Guardfile