make update: sync and update submodules twice
to support changing the URL of a submodule's submodule without having to explain to users why they need to run `make update` twice.
This commit is contained in:
parent
798b101910
commit
28e88efada
|
@ -65,6 +65,9 @@ $(NIM_BINARY) update-common: | sanity-checks
|
|||
git reset --hard -q HEAD
|
||||
git submodule sync --quiet --recursive
|
||||
export GIT_LFS_SKIP_SMUDGE=1; git submodule update --init --recursive
|
||||
# changing URLs in a submodule's submodule means we have to sync and update twice
|
||||
git submodule sync --quiet --recursive
|
||||
export GIT_LFS_SKIP_SMUDGE=1; git submodule update --init --recursive
|
||||
rm -rf $(NIMBLE_DIR)
|
||||
+ $(MAKE) build-nim
|
||||
|
||||
|
|
Loading…
Reference in New Issue