Sha256: 560c9298f63cec2b9a2916281131ba953a5d0f088d25605747971074f97367c1

Contents?: true

Size: 627 Bytes

Versions: 10

Compression:

Stored size: 627 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 :rubocop do
  watch(/.+\.rb$/)
  watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
end

guard :rspec, cmd: 'bundle exec rspec' do
  watch(%r{^spec/.+_spec\.rb$})
  watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^generators/(.+)\.rb$/}) { |_m| 'spec/schemaless/worker_spec' }

  watch('spec/spec_helper.rb') { 'spec' }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
yamg-2.1.1 Guardfile
yamg-2.0.0 Guardfile
yamg-1.1.4 Guardfile
yamg-1.1.3 Guardfile
yamg-1.1.1 Guardfile
yamg-1.1.0 Guardfile
yamg-1.0.9 Guardfile
yamg-1.0.8 Guardfile
yamg-1.0.7 Guardfile
yamg-0.5.5 Guardfile