Sha256: b3666109a0381637393624d0a9819a5f60134c9229faf3561ba09191825a7617

Contents?: true

Size: 702 Bytes

Versions: 12

Compression:

Stored size: 702 Bytes

Contents

# encoding: utf-8

# A sample Guardfile
# More info at https://github.com/guard/guard#readme

guard :test do
  watch(%r{^lib/(.+)\.rb$}) { puts "REEVALUATE and run ALL tests."; Dsl.reevaluate_guardfile; "test" }
  watch(%r{^test/.+_test\.rb$})
  watch(%r{^test/test_.+\.rb$})
  watch('test/helper.rb')  { "test" }

  # Rails example
  # watch(%r{^app/models/(.+)\.rb$})                   { |m| "test/unit/#{m[1]}_test.rb" }
  # watch(%r{^app/controllers/(.+)\.rb$})              { |m| "test/functional/#{m[1]}_test.rb" }
  # watch(%r{^app/views/.+\.rb$})                      { "test/integration" }
  # watch('app/controllers/application_controller.rb') { ["test/functional", "test/integration"] }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
progstr-filer-0.8.11 Guardfile
progstr-filer-0.8.10 Guardfile
progstr-filer-0.8.9 Guardfile
progstr-filer-0.8.8 Guardfile
progstr-filer-0.8.7 Guardfile
progstr-filer-0.8.6 Guardfile
progstr-filer-0.8.5 Guardfile
progstr-filer-0.8.4 Guardfile
progstr-filer-0.8.3 Guardfile
progstr-filer-0.8.2 Guardfile
progstr-filer-0.8.1 Guardfile
progstr-filer-0.8.0 Guardfile