Sha256: ec01d6ca6df04fe615f1f80f67808117cace4441295b1114b6835af5cb499a82
Contents?: true
Size: 621 Bytes
Versions: 17
Compression:
Stored size: 621 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme group :red_green_refactor, halt_on_fail: true do guard :rspec, cmd: 'bundle exec rspec' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/attributor/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' } watch('lib/attributor/base.rb') { 'spec' } watch('spec/support/models.rb') { 'spec' } watch('lib/attributor.rb') { 'spec' } end guard :rubocop, cli: '--auto-correct --display-cop-names' do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end
Version data entries
17 entries across 17 versions & 1 rubygems