Sha256: 4f1bc0f6ce13dade6f36919fd0c7039232498ee06bd758f1b8a4f87d6f4d252d

Contents?: true

Size: 275 Bytes

Versions: 4

Compression:

Stored size: 275 Bytes

Contents

task :checkstyle do
  puts "[CHECKSTYLE] start task"
  begin
    Checkstyle::Reviewer.new(
      ENV['GIT_REPOSITORY'],
      ENV['RESULT_PATH'] || 'tmp/checkstyle.json'
    ).review
  rescue => e
    puts "[CHECKSTYLE][ERROR] #{e}"
    puts e.backtrace
    exit 1
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
copperizer-3.3.0 lib/tasks/checkstyle.rake
copperizer-3.2.2 lib/tasks/checkstyle.rake
copperizer-3.2.1 lib/tasks/checkstyle.rake
copperizer-3.1.0 lib/tasks/checkstyle.rake