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