Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.797 kb
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec', :version => 2 do
watch(/^spec\/(.*)_spec.rb/)
watch(/^spec\/spec_helper.rb/) { "spec" }
watch(/^app\/(.*)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
watch(/^config\/routes.rb/) { "spec/routing" }
watch(/^app\/controllers\/application_controller.rb/) { "spec/controllers" }
watch(/^spec\/factories.rb/) { "spec/models" }
end
guard 'coffeescript', :output => 'public/javascripts' do
watch(/^client_app\/(.*)\.coffee/)
end
guard 'coffeescript', :output => 'spec/javascripts' do
watch(/^spec\/coffeescripts\/(.*)\.coffee/)
end
guard 'compass' do
watch(/^app\/stylesheets\/(.*)\.s[ac]ss/)
end
Jump to Line
Something went wrong with that request. Please try again.