Sha256: 783172a61d5bed2062720517aacab834764986b8e25430c960a4509328f411ea
Contents?: true
Size: 729 Bytes
Versions: 37
Compression:
Stored size: 729 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'cucumber' do watch(%r{^features/.+\.feature$}) watch(%r{^features/support/.+$}) { 'features' } watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' } end guard 'minitest' do ignore(%r|swp$|) # with Minitest::Unit watch(%r|^test/(.*)/?test_(.*)\.rb|) watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" } watch(%r|^test/helper\.rb|) { 'test' } # with Minitest::Spec # watch(%r|^spec/(.*)_spec\.rb|) # watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } # watch(%r|^spec/spec_helper\.rb|) { "spec" } end
Version data entries
37 entries across 37 versions & 2 rubygems