-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGruntfile.js
38 lines (32 loc) · 988 Bytes
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
* Grunt JSCPD Reporter exporter
*
* @name grunt-jscpd-reporter
* @package grunt-jscpd-reporter
* @author Nils Gajsek <[email protected]>
* @copyright 2014-2016 Nils Gajsek <[email protected]>
* @version 0.2.0
* @license http://opensource.org/licenses/MIT MIT Public
* @link http://www.linslin.org
*
*/
//export module
module.exports = function (grunt) {
// ########################################## Object attributes // #############################################
//use strict -> ECMAScript5 error reporting
'use strict';
// Project configuration.
grunt.initConfig({
jscpdReporter: {
src : ['Gruntfile.js', 'tasks/*.js'],
options: {
sourcefile: 'mocks/outputEmpty.xml',
outputDir: 'report/'
}
}
});
// Load local tasks.
grunt.loadTasks('tasks');
// Default task.
grunt.registerTask('default', ['grunt-jscpd-reporter']);
};