- Polished some Grunt config options while testing livereload capabilities in grunt-watch - tests for connection_pool selection with no living connections - tests for connection abstract's mini request implementation for ping.
28 lines
488 B
JavaScript
28 lines
488 B
JavaScript
module.exports = function (grunt) {
|
|
|
|
// Default task runs the build process.
|
|
grunt.registerTask('default', [
|
|
'test'
|
|
]);
|
|
|
|
grunt.registerTask('generate', [
|
|
'run:generate'
|
|
]);
|
|
|
|
grunt.registerTask('test', [
|
|
'jshint',
|
|
'mochacov:unit',
|
|
'generate',
|
|
'mochacov:integration',
|
|
]);
|
|
|
|
grunt.registerTask('coverage', [
|
|
'mochacov:make_coverage_html',
|
|
'open:coverage'
|
|
]);
|
|
|
|
grunt.registerTask('travis', [
|
|
'test',
|
|
'mochacov:ship_coverage'
|
|
]);
|
|
}; |