]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
add a `git-submodule` make target.
authorskullY <skullydazed@gmail.com>
Sun, 27 Aug 2017 03:58:19 +0000 (20:58 -0700)
committerJack Humbert <jack.humb@gmail.com>
Mon, 28 Aug 2017 15:26:35 +0000 (11:26 -0400)
Makefile

index 59c2fa7b4f77f0dd60190ce69da3891284fbb47c..558cf473c4963a64e31428bb35ffae31e1bf4731 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -551,6 +551,10 @@ test: test-all
 .PHONY: test-clean
 test-clean: test-all-clean
 
+git-submodule:
+       git submodule sync --recursive
+       git submodule update --init --recursive
+
 ifdef SKIP_VERSION
 SKIP_GIT := yes
 endif