mirror of
https://github.com/internetee/registry.git
synced 2025-08-13 04:59:42 +02:00
guard rubocop runs now after all tests, not before
This commit is contained in:
parent
f5ce88b548
commit
b0701b7c10
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,11 @@ group :red_green_refactor, halt_on_fail: true do
|
||||||
|
|
||||||
# Martin does not want rubocop
|
# Martin does not want rubocop
|
||||||
unless Socket.gethostname == 'martin'
|
unless Socket.gethostname == 'martin'
|
||||||
guard :rubocop, cli: '--display-cop-names -c .rubocop-guard.yml -f fuubar', notification: false do
|
guard :rubocop,
|
||||||
|
all_on_start: false,
|
||||||
|
cli: '--display-cop-names -c .rubocop-guard.yml -f fuubar',
|
||||||
|
notification: false do
|
||||||
|
|
||||||
watch(%r{.+\.rb$})
|
watch(%r{.+\.rb$})
|
||||||
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
|
||||||
watch(%r{(?:.+/)?\.rubocop-guard\.yml$}) { |m| File.dirname(m[0]) }
|
watch(%r{(?:.+/)?\.rubocop-guard\.yml$}) { |m| File.dirname(m[0]) }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue