Skip to content

m19c/grunt-codeclimate-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

Send your coverage to codeclimate.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •