Created
January 13, 2012 02:11
-
-
Save oreoshake/1604252 to your computer and use it in GitHub Desktop.
guard-brakeman usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Gemfile | |
gem 'guard-brakeman' | |
# Guardfile: | |
guard 'brakeman' do | |
watch(%r{^app/.+\.(erb|haml|rhtml|rb)$}) | |
watch(%r{^config/.+\.rb$}) | |
watch(%r{^lib/.+\.rb$}) | |
watch('Gemfile') | |
end | |
# As of now, there are no options. Will add ability to exclude certain tests, change the output, etc. | |
# Tests are broken. I have a concert to go to. It worked for me. Let me know if there are bugs. | |
# https://github.com/oreoshake/guard-brakeman |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I notice this won't watch views.
Brakeman looks for
.html.erb
.html.haml
.rhtml
and.js.erb
inapp/views/