Sha256: 852839d57f827d497e863a125fe084be7b0dace533ac237080dedcd4d005a1dc
Contents?: true
Size: 600 Bytes
Versions: 12
Compression:
Stored size: 600 Bytes
Contents
# coding: utf-8 # This group allows Guard to skip running RuboCop if RSpec failed. group :red_green_refactor, halt_on_fail: true do guard :rspec, all_on_start: true, cmd: 'bundle exec rspec --format Fuubar' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { 'spec' } watch(%r{^spec/support/.+\.rb$}) { 'spec' } watch(%r{^benchmark/.+_spec\.rb$}) end guard :rubocop, cli: '--format fuubar' do watch(%r{.+\.rb$}) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end
Version data entries
12 entries across 12 versions & 2 rubygems