this.async();
});
- // These plugins provide necessary tasks for plato
- grunt.loadNpmTasks('grunt-contrib-qunit');
- grunt.loadNpmTasks('grunt-qunit-junit');
- grunt.loadNpmTasks('grunt-plato');
-
- // Default task for complexity analisys
- grunt.registerTask('complexity', ['plato', 'qunit_junit', 'qunit']);
-
grunt.registerTask('serve', function (target) {
if (target === 'dist') {
return grunt.task.run(['build', 'env:all', 'env:prod', 'express:prod', 'wait', 'open', 'express-keepalive']);
'env:all',
'env:test',
'mocha_istanbul:coverage',
- 'complexity'
+ 'plato'
]);
});