added guard stuff

This commit is contained in:
Ken Johnson
2013-04-11 12:54:11 -04:00
parent 642f5dc856
commit f95fd522ca
3 changed files with 86 additions and 7 deletions
+13
View File
@@ -0,0 +1,13 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'brakeman', :run_on_start => true do
watch(%r{^app/.+\.(erb|haml|rhtml|rb)$})
watch(%r{^config/.+\.rb$})
watch(%r{^lib/.+\.rb$})
watch('Gemfile')
end
guard :shell do
watch(%r{^Gemfile|Gemfile.lock$}) { system("bundle-audit")}
end