Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 455 Bytes
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'spork', :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('Gemfile')
watch('Gemfile.lock')
watch('spec/spec_helper.rb') { :rspec }
end
guard 'rspec', :cli => "--drb", :all_after_pass => false, :version => 2 do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/prawnto/(.+)\.rb$}) { |m| "spec/units/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
Something went wrong with that request. Please try again.