Sha256: 611cb8f1f4aa77c44825b61672015fdec8513b9f0c52cae99c5690d58dce7486

Contents?: true

Size: 593 Bytes

Versions: 22

Compression:

Stored size: 593 Bytes

Contents

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

guard 'bundler' do
  watch('Gemfile')
  # Uncomment next line if Gemfile contain `gemspec' command
  watch(/^.+\.gemspec/)
end

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

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
pmp-0.5.7 Guardfile
pmp-0.5.6 Guardfile
pmp-0.5.5 Guardfile
pmp-0.5.4 Guardfile
pmp-0.5.3 Guardfile
pmp-0.5.2 Guardfile
pmp-0.5.1 Guardfile
pmp-0.5.0 Guardfile
pmp-0.4.1 Guardfile
pmp-0.4.0 Guardfile
pmp-0.3.2 Guardfile
pmp-0.3.1 Guardfile
pmp-0.3.0 Guardfile
pmp-0.2.4 Guardfile
pmp-0.2.3 Guardfile
pmp-0.2.2 Guardfile
pmp-0.2.1 Guardfile
pmp-0.2.0 Guardfile
pmp-0.1.3 Guardfile
pmp-0.1.2 Guardfile