FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added grunt-update-submodules task. Will update all submodules (Mini… · willCode2Surf/JavaScriptButtons@1116404 · GitHub

Commit 1116404

Browse files
committed
Added grunt-update-submodules task. Will update all submodules (MiniCart) before running concat and uglify tasks.
1 parent da166b8 commit 1116404

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

‎Gruntfile.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ module.exports = function (grunt) {
5454
grunt.loadNpmTasks("grunt-contrib-jshint");
5555
grunt.loadNpmTasks("grunt-contrib-uglify");
5656
grunt.loadNpmTasks("grunt-contrib-concat");
57+
grunt.loadNpmTasks('grunt-update-submodules');
5758

5859
// Default task.
59-
grunt.registerTask("default", ["jshint", "concat", "uglify"]);
60+
grunt.registerTask("default", ["jshint", "update_submodules", "concat", "uglify"]);
6061

6162
};

‎package.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@
2222
"grunt": "*",
2323
"grunt-contrib-jshint": "*",
2424
"grunt-contrib-uglify": "*",
25+
"grunt-contrib-concat": "~0.1.3",
26+
"grunt-update-submodules": "*",
2527
"mocha": "~1.7.4",
2628
"should": "*",
27-
"jsdom": "*",
28-
"grunt-contrib-concat": "~0.1.3"
29+
"jsdom": "*"
2930
},
3031
"scripts": {
3132
"test": "mocha"

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL