2013-02-28 03:06:29 +00:00
|
|
|
guard 'bundler' do
|
|
|
|
watch('Gemfile')
|
|
|
|
watch(/^.+\.gemspec/)
|
|
|
|
end
|
|
|
|
|
|
|
|
guard 'ctags-bundler', :src_path => ["lib"] do
|
|
|
|
watch(/^(lib|spec\/support)\/.*\.rb$/)
|
|
|
|
watch('Gemfile.lock')
|
|
|
|
end
|
|
|
|
|
2013-02-25 04:58:04 +00:00
|
|
|
guard 'rspec' do
|
|
|
|
watch(%r{^spec/.+_spec\.rb$})
|
2013-02-28 03:06:29 +00:00
|
|
|
watch(%r{^lib/vagrant-lxc/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
|
|
|
|
watch('spec/unit_helper.rb') { "spec/unit" }
|
2013-04-21 19:43:35 +00:00
|
|
|
watch('spec/acceptance_helper.rb') { "spec/acceptance" }
|
2013-02-28 03:06:29 +00:00
|
|
|
watch('spec/spec_helper.rb') { "spec/" }
|
2013-04-21 19:43:35 +00:00
|
|
|
watch(%r{^spec/support/(.+)\.rb$}) { "spec/" }
|
2013-02-25 04:58:04 +00:00
|
|
|
end
|