Clean up Guardfile
This commit is contained in:
parent
30b76899e3
commit
4e53cc83fe
1 changed files with 4 additions and 15 deletions
19
Guardfile
19
Guardfile
|
@ -1,18 +1,7 @@
|
||||||
guard 'bundler' do
|
guard 'rspec', :spec_paths => ["spec/unit"] do
|
||||||
watch('Gemfile')
|
watch(%r{^spec/unit/.+_spec\.rb$})
|
||||||
watch(/^.+\.gemspec/)
|
|
||||||
end
|
|
||||||
|
|
||||||
guard 'ctags-bundler', :src_path => ["lib"] do
|
|
||||||
watch(/^(lib|spec\/support)\/.*\.rb$/)
|
|
||||||
watch('Gemfile.lock')
|
|
||||||
end
|
|
||||||
|
|
||||||
guard 'rspec' do
|
|
||||||
watch(%r{^spec/.+_spec\.rb$})
|
|
||||||
watch(%r{^lib/vagrant-lxc/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
|
watch(%r{^lib/vagrant-lxc/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
|
||||||
watch('spec/unit_helper.rb') { "spec/unit" }
|
watch('spec/unit_helper.rb') { "spec/unit" }
|
||||||
watch('spec/acceptance_helper.rb') { "spec/acceptance" }
|
watch('spec/spec_helper.rb') { "spec/unit" }
|
||||||
watch('spec/spec_helper.rb') { "spec/" }
|
watch(%r{^spec/support/(.+)\.rb$}) { "spec/unit" }
|
||||||
watch(%r{^spec/support/(.+)\.rb$}) { "spec/" }
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue