Add git submodules init script.
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 19 Jan 2021 10:12:00 +0000 (11:12 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 19 Jan 2021 10:12:00 +0000 (11:12 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json

index b2605fb125566d0a257516e47c38e37678b54aca..67fb72c9083ef018bf5abcd1f133901ae6d127bd 100644 (file)
@@ -40,6 +40,7 @@
     "test": "echo \"Error: no tests implemented\" && exit 1",
     "clinic:clean": "clinic clean",
     "npm-check": "npm-check",
+    "git:sinit": "git submodule update --init --recursive --force",
     "git:sdiff": "git diff && git submodule foreach 'git diff'",
     "git:supdate": "git submodule update --remote --merge",
     "git:spush": "git push --recurse-submodules=on-demand"