gitlab-org--gitlab-foss/lib/tasks/brakeman.rake
2015-03-19 08:37:21 -07:00

9 lines
217 B
Ruby

desc 'Security check via brakeman'
task :brakeman do
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
puts 'Security check succeed'
else
puts 'Security check failed'
exit 1
end
end