also invoke the version task on grunt buildonly
.
This commit is contained in:
parent
91ac2ce048
commit
b8fbffdf3e
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ module.exports = function (grunt) {
|
|||
|
||||
// Default task.
|
||||
grunt.registerTask('default', ['jshint', 'clean', 'version', 'concat', 'connect', 'mocha_phantomjs', 'uglify', 'cssmin']);
|
||||
grunt.registerTask('buildonly', ['clean', 'concat', 'uglify', 'cssmin']);
|
||||
grunt.registerTask('buildonly', ['clean', 'version', 'concat', 'uglify', 'cssmin']);
|
||||
grunt.registerTask('server', function () {
|
||||
grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');
|
||||
grunt.task.run(['serve']);
|
||||
|
|
Loading…
Reference in a new issue