Sha256: ec3e86738341abbbf36e6d5e7990d5051b50fc9446edd571211aab9ee0fe5134
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
require 'rubocop' require 'rubocop/rake_task' desc 'Run rubocop with HTML output' RuboCop::RakeTask.new(:rubocop) do |cop| output = ENV['RUBOCOP_OUTPUT'] || 'artifacts/reports/rubocop/index.html' cop.formatters = ['html'] cop.options = ['--out', output] end desc 'Run RuboCop with auto-correct, and output results to console' task :ra do # b/c we want console output, we can't just use `rubocop:auto_correct` RuboCop::CLI.new.run(['--auto-correct']) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
text-checkm-0.8 | rakelib/rubocop.rake |
text-checkm-0.7 | rakelib/rubocop.rake |