grunt: Run grunt-build as part of grunt-test and grunt-watch

Especially the latter is nice, but might as well run it as part
of test.

Change-Id: I77b9e6be3adc57565390c9881165b462f0f34b56
This commit is contained in:
Timo Tijhof 2014-04-04 13:48:00 -07:00
parent 2fb6b5662c
commit 486e9cbbed

View file

@ -81,8 +81,8 @@ module.exports = function ( grunt ) {
}
} );
grunt.registerTask( 'lint', ['jshint', 'jscs', 'csslint'] );
grunt.registerTask( 'test', ['lint'] );
grunt.registerTask( 'build', ['jsduckcatconfig', 'buildloader'] );
grunt.registerTask( 'default', ['build', 'test'] );
grunt.registerTask( 'lint', ['jshint', 'jscs', 'csslint'] );
grunt.registerTask( 'test', ['build', 'lint'] );
grunt.registerTask( 'default', ['test'] );
};