summaryrefslogtreecommitdiff
path: root/lib/tasks/brakeman.rake
blob: 3a225801ff21d884aa97ac5f1383d59e734de7ba (plain)
1
2
3
4
5
6
7
8
9
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