summaryrefslogtreecommitdiff
path: root/lib/tasks/brakeman.rake
blob: 52a9b017e792e0028582312858878b59cf54c403 (plain)
1
2
3
4
5
6
7
8
9
desc 'Security check via brakeman'
task :brakeman do
  if system(*%W(brakeman --skip-files lib/backup/repository.rb -w3 -z))
    puts 'Security check succeed'
  else
    puts 'Security check failed'
    exit 1
  end
end