Sha256: 7b10d07072dc5398561fa50be6ba4d851e5cb84204cf09b13a5416be62223326

Contents?: true

Size: 815 Bytes

Versions: 12

Compression:

Stored size: 815 Bytes

Contents

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

## Uncomment and set this to only include directories you want to watch
# directories %w(app lib config test spec feature)

## Uncomment to clear the screen before every task
# clearing :on

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/test_helper\.rb$})      { 'test' }

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

guard :rubocop do
  watch(/.+\.rb$/)
  watch(/(?:.+\/)?\.rubocop\.yml$/) { |m| File.dirname(m[0]) }
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
cordova-rake-0.5.2 Guardfile
cordova-rake-0.5.1 Guardfile
cordova-rake-0.5.0 Guardfile
cordova-rake-0.4.3 Guardfile
cordova-rake-0.3.1 Guardfile
cordova-rake-0.3.0 Guardfile
cordova-rake-0.0.8 Guardfile
cordova-rake-0.0.7 Guardfile
cordova-rake-0.0.5 Guardfile
cordova-rake-0.0.3 Guardfile
namie-0.0.3 Guardfile
namie-0.0.1 Guardfile