From 094ecb1f7057ec56f47ed910b0326b17ec88c0fe Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Sat, 20 Jul 2019 16:18:53 -0400 Subject: [PATCH] rubocop security scan is run as part of the `test` rake target --- Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rakefile b/Rakefile index 3de4e39d1c4..7d274b2dedc 100644 --- a/Rakefile +++ b/Rakefile @@ -276,6 +276,11 @@ task :java_debug do end Rake::Task[:test].prerequisites << :java_debug +task :rubocop_security do + sh "rubocop lib --only Security" +end +Rake::Task[:test].prerequisites << :rubocop_security + if Hoe.plugins.include?(:debugging) ['valgrind', 'valgrind:mem', 'valgrind:mem0'].each do |task_name| Rake::Task["test:#{task_name}"].prerequisites << :compile