mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-16 06:51:27 +00:00
Generalize watch target.
This commit is contained in:
parent
e61edfed80
commit
471d1d7966
@ -26,5 +26,5 @@
|
||||
|
||||
guard :rspec, cmd: 'rspec', spec_paths: ["./"] do
|
||||
watch(%r{.+_spec\.rb$}) { |m| "./#{m[0]}" }
|
||||
watch("gilded_rose.rb") { "./gilded_rose_spec.rb" }
|
||||
watch(%r{(.+)(?!_spec)\.rb$}) { |m| "./#{m[1]}_spec.rb" }
|
||||
end
|
||||
Loading…
Reference in New Issue
Block a user