Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Clean up Guardfile
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrehm committed May 17, 2013
1 parent 30b7689 commit 4e53cc8
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions Guardfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
guard 'bundler' do
watch('Gemfile')
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$})
guard 'rspec', :spec_paths => ["spec/unit"] do
watch(%r{^spec/unit/.+_spec\.rb$})
watch(%r{^lib/vagrant-lxc/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
watch('spec/unit_helper.rb') { "spec/unit" }
watch('spec/acceptance_helper.rb') { "spec/acceptance" }
watch('spec/spec_helper.rb') { "spec/" }
watch(%r{^spec/support/(.+)\.rb$}) { "spec/" }
watch('spec/spec_helper.rb') { "spec/unit" }
watch(%r{^spec/support/(.+)\.rb$}) { "spec/unit" }
end

0 comments on commit 4e53cc8

Please sign in to comment.