0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Adding submodule update to grunt init

issue #1053

- not the greatest module, but perhaps one to re-create ourselves in future
This commit is contained in:
Hannah Wolfe 2013-11-02 09:33:15 +00:00
parent 62416d203a
commit 60bef38298
2 changed files with 3 additions and 3 deletions

View file

@ -872,14 +872,13 @@ var path = require('path'),
// ## Tools for building assets
// TODO: Git submodule init/update (https://github.com/jaubourg/grunt-update-submodules)?
grunt.registerTask('init', 'Prepare the project for development', ['shell:bourbon', 'default']);
// Before running in production mode
grunt.registerTask('prod', 'Build CSS, JS & templates for production', ['sass:compress', 'handlebars', 'concat', 'uglify']);
// When you just say 'grunt'
grunt.registerTask('default', 'Build CSS, JS & templates for development', ['sass:compress', 'handlebars', 'concat']);
grunt.registerTask('default', 'Build CSS, JS & templates for development', ['update_submodules', 'sass:compress', 'handlebars', 'concat']);
};
module.exports = configureGrunt;
module.exports = configureGrunt;

View file

@ -69,6 +69,7 @@
"grunt-jslint": "~1.1.1",
"grunt-mocha-cli": "~1.3.0",
"grunt-shell": "~0.5.0",
"grunt-update-submodules": "~0.2.0",
"matchdep": "~0.3.0",
"mocha": "~1.13.0",
"should": "~2.0.2",