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

Version Path
rubyjobbuilderdsl-0.0.2 vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Guardfile
rubyjobbuilderdsl-0.0.1 vendor/bundle/ruby/2.1.0/gems/astrolabe-1.3.0/Guardfile
astrolabe-1.3.1 Guardfile
astrolabe-1.3.0 Guardfile
astrolabe-1.2.1 Guardfile
astrolabe-1.1.0 Guardfile
astrolabe-1.0.0 Guardfile
astrolabe-0.6.0 Guardfile
astrolabe-0.5.2 Guardfile
astrolabe-0.5.1 Guardfile
astrolabe-0.5.0 Guardfile
astrolabe-0.4.0 Guardfile