Skip to content

Commit

Permalink
rubocop security scan is run as part of the test rake target
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Aug 10, 2019
1 parent d068cd4 commit 094ecb1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 094ecb1

Please sign in to comment.