Sha256: 6d8b27f5d46d00ab1498873e6f05ad310ea750623d4c144d955409c1a2f80a97
Contents?: true
Size: 951 Bytes
Versions: 7
Compression:
Stored size: 951 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'minitest', test_folders: 'spec', test_file_patterns: 'test_*.rb' do # with Minitest::Unit # watch(%r{^spec/lib/test_.*\.rb}) # watch(%r|^test/(.*)\/?test_(.*)\.rb|) # watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" } # watch(%r|^lib/otherbase/contacts?.rb|) { "test" } # with Minitest::Spec watch(%r|^spec/lib/test_(.*)\.rb|) watch(%r{^lib/treet/(.+)\.rb$}) { |m| "spec/lib/test_#{m[1]}.rb" } watch(%r|^spec/test_helper\.rb|) { "spec" } # watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } # watch(%r|^spec/spec_helper\.rb|) { "spec" } end guard 'rspec', :version => 2 do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/treet/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } end
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
treet-0.15.0 | Guardfile |
treet-0.14.1 | Guardfile |
treet-0.14.0 | Guardfile |
treet-0.13.1 | Guardfile |
treet-0.11.0 | Guardfile |
treet-0.10.3 | Guardfile |
treet-0.10.2 | Guardfile |