2
0
mirror of https://github.com/status-im/nimbus-build-system.git synced 2025-01-11 13:14:08 +00:00

use "--recurse-submodules"

This commit is contained in:
Ștefan Talpalaru 2020-05-20 15:39:51 +02:00
parent f5278aef73
commit a553d87d50
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9

@ -52,7 +52,7 @@ build-nim: | sanity-checks
#- allows parallel building with the '+' prefix
#- rebuilds the Nim compiler if the corresponding submodule is updated
update-common: | sanity-checks
git submodule foreach --quiet 'git ls-files --exclude-standard | while read F; do rm -rf "$$F"; done'
git submodule foreach --quiet 'git ls-files --exclude-standard --recurse-submodules | while read F; do rm -rf "$$F"; done'
git submodule update --init --recursive || true
# changing URLs in a submodule's submodule means we have to sync and update twice
git submodule sync --quiet --recursive