Sha256: 0cb3a33fdbdad02efff34665ab94dbc186206d4d30f0cfa2eb71d48ed2659fc8
Contents?: true
Size: 450 Bytes
Versions: 3
Compression:
Stored size: 450 Bytes
Contents
# This group allows to skip running RuboCop when RSpec failed. group :red_green_refactor, :halt_on_fail => true do guard :rspec, :cmd => "bundle exec rspec --fail-fast" do # run a spec when editing it watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end guard :rubocop, :all_on_start => false do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
film_snob-2.0.0 | Guardfile |
film_snob-1.0.1 | Guardfile |
film_snob-1.0.0 | Guardfile |