Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 14 lines (12 sloc) 0.488 kB
f66c465 @e2 use halt_on_fail in Guardfile
e2 authored
1 group :specs, halt_on_fail: true do
c5b6785 @e2 RuboCop setup + fix offenses
e2 authored
2 guard :rspec, cmd: 'bundle exec rspec', failed_mode: :keep do
f66c465 @e2 use halt_on_fail in Guardfile
e2 authored
3 watch(%r{spec/.+_spec.rb})
4 watch(%r{lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
c5b6785 @e2 RuboCop setup + fix offenses
e2 authored
5 watch('spec/spec_helper.rb') { 'spec' }
f66c465 @e2 use halt_on_fail in Guardfile
e2 authored
6 end
7
c5b6785 @e2 RuboCop setup + fix offenses
e2 authored
8 guard :rubocop, all_on_start: false, cli: '--rails' do
f66c465 @e2 use halt_on_fail in Guardfile
e2 authored
9 watch(%r{.+\.rb$}) { |m| m[0] }
10 watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
11 watch(%r{(?:.+/)?\.rubocop_todo\.yml$}) { |m| File.dirname(m[0]) }
12 end
e06e711 Some cleanup & refactoring of #70
Thibaud Guillaume-Gentil authored
13 end
Something went wrong with that request. Please try again.