Sha256: 454a03260435588555c4606cc43689766b979e57396ab7e0c623ef09dd382f8d

Contents?: true

Size: 828 Bytes

Versions: 9

Compression:

Stored size: 828 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.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 :minitest do
  watch(%r{^test/(.*)\/?test_(.*)\.rb$})
  watch(%r{^lib/(.*/)?([^/]+)\.rb$})     { |m| "test/#{m[1]}test_#{m[2]}.rb" }
  watch(%r{^test/test_helper\.rb$})      { 'test' }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
enlight-0.2.4 Guardfile
enlight-0.2.3 Guardfile
enlight-0.2.2 Guardfile
enlight-0.2.1 Guardfile
enlight-0.2.0 Guardfile
enlight-0.1.4 Guardfile
enlight-0.1.3 Guardfile
enlight-0.1.2 Guardfile
enlight-0.1.0 Guardfile