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