update Guardfile template
This commit is contained in:
parent
001b14c252
commit
a4acf9e783
@ -1,6 +1,5 @@
|
|||||||
Use Guard with Hydra and get super-parallel test execution! Awesome!
|
Use Guard with Hydra and get super-parallel test execution! Awesome!
|
||||||
|
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
* `:runner_log`: The location of the runner log where output is printed
|
* `:runner_log`: The location of the runner log where output is printed
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
guard 'hydra' do
|
guard 'hydra' do
|
||||||
# All spec files
|
# All spec files
|
||||||
watch(%r{spec/**/*_spec.rb})
|
watch(%r{^spec/**/*_spec.rb$})
|
||||||
|
|
||||||
|
# All lib files
|
||||||
|
watch(%r{^lib/(.*)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
||||||
|
|
||||||
|
# All app files for a Rails app
|
||||||
|
watch(%r{^app/(.*)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user