Sha256: d47e01d5e77247c1de036f896881850995773f7afe6dda2dfe2a84c3a35189d5

Contents?: true

Size: 589 Bytes

Versions: 18

Compression:

Stored size: 589 Bytes

Contents

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

guard 'minitest' do
  # with Minitest::Unit
  watch(%r|^test/test_(.*)\.rb|)
  watch(%r|^lib/(.*)\.rb|)            { |m| "test/test_#{m[1]}.rb" }
  watch(%r|^test/test_helper\.rb|)    { "test" }

  # with Minitest::Spec
  # watch(%r|^spec/(.*)_spec\.rb|)
  # watch(%r|^lib/(.*)\.rb|)            { |m| "spec/#{m[1]}_spec.rb" }
  # watch(%r|^spec/spec_helper\.rb|)    { "spec" }
end

guard 'rocco' do
  watch(%r{^lib/.*\.rb$})
end

watch(%r|^benchmarks/(.*)\.rb$|)     { |m| eval File.read "benchmarks/#{m[1]}.rb" }

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
slim-rails-3.0.1 Guardfile
slim-rails-3.0.0 Guardfile
slim-rails-2.1.5 Guardfile
slim-rails-2.1.4 Guardfile
slim-rails-2.1.3 Guardfile
slim-rails-2.1.2 Guardfile
slim-rails-2.1.1 Guardfile
slim-rails-2.1.0 Guardfile
slim-rails-2.0.4 Guardfile
slim-rails-2.0.3 Guardfile
slim-rails-2.0.2 Guardfile
slim-rails-2.0.1 Guardfile
slim-rails-1.1.1 Guardfile
slim-rails-1.1.0 Guardfile
slim-rails-1.0.3 Guardfile
slim-rails-1.0.2 Guardfile
slim-rails-1.0.1 Guardfile
slim-rails-1.0.0 Guardfile