Sha256: 0683905efa786cbd0419cf013753d4dcfea90472940067ed17170551e6e784df

Contents?: true

Size: 459 Bytes

Versions: 10

Compression:

Stored size: 459 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/shortener/(.*)\.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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
short-0.6.0 Guardfile
short-0.5.4 Guardfile
short-0.5.3 Guardfile
short-0.5.2 Guardfile
short-0.5.1 Guardfile
short-0.5.0 Guardfile
short-0.4.3 Guardfile
short-0.4.2 Guardfile
short-0.4.1 Guardfile
short-0.4.0 Guardfile