mirror of
https://github.com/status-im/nimbus-build-system.git
synced 2025-02-05 01:04:29 +00:00
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…
x
Reference in New Issue
Block a user