Files
railsgoat/Guardfile
T
2013-04-11 12:54:11 -04:00

13 lines
320 B
Ruby

# 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