summaryrefslogtreecommitdiff
path: root/lib/tasks/brakeman.rake
blob: abcb5f0ae46e011bea9f5d8298f66dd3c9ce367b (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")
    exit 0
  else
    puts 'Security check failed'
    exit 1
  end
end