9 lines
217 B
Ruby
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
|