Sha256: 074a55f5233732ef1c0c6e6c27bd6f2b845327bef8e302191623fb8d65e4a660

Contents?: true

Size: 608 Bytes

Versions: 7

Compression:

Stored size: 608 Bytes

Contents

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

guard :test do
  watch(%r{^lib/(.+)\.rb$})     { |m| "test/#{m[1]}_test.rb" }
  watch(%r{^test/.+_test\.rb$})
  watch('test/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

7 entries across 7 versions & 3 rubygems

Version Path
statlysis-0.1.1 Guardfile
statlysis-0.1.0 Guardfile
statlysis-0.0.7 Guardfile
distribute_tree-0.0.1 Guardfile
statlysis-0.0.3 Guardfile
the_jobbook_admin_data-1.3.0a Guardfile
statlysis-0.0.2 Guardfile