From 60bef382985c81b5209c7cef57420d5fb0587697 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sat, 2 Nov 2013 09:33:15 +0000 Subject: [PATCH] Adding submodule update to grunt init issue #1053 - not the greatest module, but perhaps one to re-create ourselves in future --- Gruntfile.js | 5 ++--- package.json | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 24e173d354..c038578bde 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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; \ No newline at end of file diff --git a/package.json b/package.json index 31b307d6e1..601d610341 100644 --- a/package.json +++ b/package.json @@ -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",