Skip to content
Newer
Older
100644 34 lines (29 sloc) 1.27 KB
eb956e5 @roberto test env: rspec, capybara, factory_girl and guard
authored Jun 29, 2012
1 # A sample Guardfile
2 # More info at https://github.com/guard/guard#readme
3
18db7a9 @roberto guard: interactor(pry) off
authored Nov 14, 2012
4 interactor :off
f610f4a @roberto gems: updated rails, added guard
authored Aug 10, 2012
5 notification :terminal_notifier, app_name: "Lentlist"
eb956e5 @roberto test env: rspec, capybara, factory_girl and guard
authored Jun 30, 2012
6
58633e5 @roberto zeus setup
authored Nov 15, 2012
7 guard 'rspec', zeus: true, bundler: false,
8 all_after_pass: false, keep_failed: true,
9 notification: true do
eb956e5 @roberto test env: rspec, capybara, factory_girl and guard
authored Jun 30, 2012
10 watch(%r{^spec/.+_spec\.rb$})
11 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
12 watch('spec/spec_helper.rb') { "spec" }
13
14 # Rails example
15 watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
16 watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
17 watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
58633e5 @roberto zeus setup
authored Nov 16, 2012
18 watch(%r{^spec/factories\.rb$}) { "spec/models" }
eb956e5 @roberto test env: rspec, capybara, factory_girl and guard
authored Jun 30, 2012
19 watch('config/routes.rb') { "spec/routing" }
20 watch('app/controllers/application_controller.rb') { "spec/controllers" }
21 end
22
f610f4a @roberto gems: updated rails, added guard
authored Aug 10, 2012
23 guard 'pow' do
24 watch('.powrc')
25 watch('.powenv')
26 watch('.rvmrc')
27 watch('Gemfile')
28 watch('Gemfile.lock')
29 watch('config/application.rb')
30 watch('config/environment.rb')
31 watch(%r{^config/environments/.*\.rb$})
32 watch(%r{^config/initializers/.*\.rb$})
33 end
Something went wrong with that request. Please try again.