Sha256: 51d9ce418c9d248249c7fbd45f87459880c64221c4a8f29e83a9f99fd788cd70

Contents?: true

Size: 992 Bytes

Versions: 4

Compression:

Stored size: 992 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 features) \
#  .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}

## Note: if you are using the `directories` clause above and you are not
## watching the project directory ('.'), then you will want to move
## the Guardfile to a watched dir and symlink it back, e.g.
#
#  $ mkdir config
#  $ mv Guardfile config/
#  $ ln -s config/Guardfile .
#
# and, you'll have to watch "config/Guardfile" instead of "Guardfile"

guard :standardrb, fix: false, all_on_start: true do
  UI.info "StandardRb is initialized"
  watch(/.+\.rb$/)
end

guard :minitest, all_after_pass: true do
  # with Minitest::Unit
  watch(%r{^bin/}) { "test" }
  watch(%r{^test/(.*)/?test_(.*)\.rb$}) { "test" }
  watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { "test" }
  watch(%r{^test/test_helper\.rb$}) { "test" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yarn-audit-wrap-0.4.0 Guardfile
yarn-audit-wrap-0.3.0 Guardfile
yarn-audit-wrap-0.2.0 Guardfile
yarn-audit-wrap-0.1.0 Guardfile