mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
guard: turned off notification, if you need it, turn it back
This commit is contained in:
parent
6cf70074b4
commit
b5926d9fa2
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
group :red_green_refactor, halt_on_fail:true do
|
||||
guard :rspec, cmd: 'bundle exec rspec' do
|
||||
group :red_green_refactor, halt_on_fail: true do
|
||||
guard :rspec, cmd: 'bundle exec rspec', notification: false do
|
||||
watch(%r{^spec/.+_spec\.rb$})
|
||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
||||
watch('spec/spec_helper.rb') { "spec" }
|
||||
|
@ -26,7 +26,7 @@ group :red_green_refactor, halt_on_fail:true do
|
|||
|
||||
# Martin does not want rubocop
|
||||
unless Socket.gethostname == 'martin'
|
||||
guard :rubocop, cli: '--display-cop-names -c .rubocop-guard.yml' do
|
||||
guard :rubocop, cli: '--display-cop-names -c .rubocop-guard.yml', notification: false do
|
||||
watch(%r{.+\.rb$})
|
||||
watch(%r{(?:.+/)?\.rubocop\.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