grunt-codeclimate-reporter

1.2.1 • Public • Published

grunt-codeclimate-reporter

Send your coverage to codeclimate.

Build Status

Checkout gulp-codeclimate-reporter.

Install

npm install grunt-codeclimate-reporter --save-dev

Usage

Load task

Once the plugin has been installed, it may be enabled inside your Gruntfile.js with this line of JavaScript:

grunt.loadNpmTasks('grunt-codeclimate-reporter');

Define your target

grunt.initConfig({
  pkg: grunt.file.readJSON('package.json'),
  // ...
  codeclimate: {
    main: {
      options: {
        file: 'path/to/your/lcov.info',
        token: 'your_token',
        executable: 'path/to/executable' // leave blank to use the default executable
      }
    }
  }
  // ...
});

Note that, grunt-codeclimate-reporter is registered as a multi task. So it is required to define your sub task e.g. main (or something else).

Package Sidebar

Install

npm i grunt-codeclimate-reporter

Weekly Downloads

1

Version

1.2.1

License

none

Last publish

Collaborators

  • mrboolean