Sha256: 79fb88bbf967cc0d0835698223411683138bd972cebb13261c9b5cccb2a0c10b

Contents?: true

Size: 835 Bytes

Versions: 12

Compression:

Stored size: 835 Bytes

Contents

# frozen_string_literal: true
# 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.exists?(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 :rubocop, cli: ['--format', 'clang', '--auto-correct'] do
  watch(/.+\.rb$/)
  watch(/.+\.rake$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
adobe-campaign-0.4.4 Guardfile
adobe-campaign-0.4.3 Guardfile
adobe-campaign-0.4.2 Guardfile
adobe-campaign-0.4.1 Guardfile
adobe-campaign-0.4.0 Guardfile
adobe-campaign-0.3.2 Guardfile
adobe-campaign-0.3.1 Guardfile
adobe-campaign-0.3.0 Guardfile
adobe-campaign-0.2.1 Guardfile
adobe-campaign-0.2.0 Guardfile
adobe-campaign-0.1.1 Guardfile
adobe-campaign-0.1.0.1 Guardfile