gitlab-org--gitlab-foss/lib/tasks/brakeman.rake
2015-03-02 17:41:05 -08:00

9 lines
156 B
Ruby

desc 'Security check via brakeman'
task :brakeman do
if system("brakeman -w3 -z")
exit 0
else
puts 'Security check failed'
exit 1
end
end