Sha256: ff9ac589f95077830e154304a01344f9fa7df09e3ccbea52afd168f9d6f94a76
Contents?: true
Size: 620 Bytes
Versions: 16
Compression:
Stored size: 620 Bytes
Contents
require File.expand_path("../engine", File.dirname(__FILE__)) namespace :katello do desc "Runs Rubocop style checker on Katello code" task :rubocop do system("bundle exec rubocop #{Katello::Engine.root}") exit($CHILD_STATUS.exitstatus) end desc "Runs Rubocop style checker with xml output for Jenkins" task 'rubocop:jenkins' do system("bundle exec rubocop #{Katello::Engine.root} \ --require rubocop/formatter/checkstyle_formatter \ --format RuboCop::Formatter::CheckstyleFormatter \ --no-color --out rubocop.xml") exit($CHILD_STATUS.exitstatus) end end
Version data entries
16 entries across 16 versions & 1 rubygems