grunt-codeclimate-reporter
v1.2.1
Published
Send your coverage to codeclimate.
Downloads
115
Maintainers
Readme
grunt-codeclimate-reporter
Send your coverage to codeclimate.
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).