mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 07:36:41 +10:00
Add rake task for brakeman
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
desc 'Security check via brakeman'
|
||||
task :brakeman do
|
||||
if system("brakeman -w3 -z")
|
||||
exit 0
|
||||
else
|
||||
puts 'Security check failed'
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user