gitlab-org--gitlab-foss/lib/tasks/brakeman.rake

10 lines
217 B
Ruby
Raw Normal View History

2015-03-02 20:41:05 -05:00
desc 'Security check via brakeman'
task :brakeman do
if system("brakeman --skip-files lib/backup/repository.rb -w3 -z")
2015-03-19 11:37:21 -04:00
puts 'Security check succeed'
2015-03-02 20:41:05 -05:00
else
puts 'Security check failed'
exit 1
end
end