Sha256: a1a51be946e322188398673121705c0e046ebf0d59a3c77fc626fd4c8e57a611

Contents?: true

Size: 491 Bytes

Versions: 6

Compression:

Stored size: 491 Bytes

Contents

guard 'cucumber' do
  watch(%r{^features/.+\.feature$})
  watch(%r{^features/support/.+$}) { 'features' }
  watch(%r{^features/step_definitions/(.+)_steps\.rb$}) do |m|
    Dir[File.join("**/#{m[1]}.feature")][0] || 'features'
  end
end

guard :minitest, all_after_pass: true do
  watch(%r{^test/(.*)_test\.rb})
  watch(%r{^lib/(.+)\.rb}) do |m|
    "test/lib/#{m[1]}_test.rb"
  end
  watch(%r{^test/test_helper\.rb})       { 'test' }
  watch(%r{^test/support/vcr_setup\.rb}) { 'test' }
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
troo-0.0.15 Guardfile
troo-0.0.14 Guardfile
troo-0.0.13 Guardfile
troo-0.0.12 Guardfile
troo-0.0.11 Guardfile
troo-0.0.10 Guardfile