This commit is contained in:
Ștefan Talpalaru 2020-05-20 19:55:09 +02:00
parent 8f227779e6
commit daf6c96097
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 2 additions and 2 deletions

View File

@ -52,12 +52,12 @@ build-nim: | sanity-checks
#- allows parallel building with the '+' prefix #- allows parallel building with the '+' prefix
#- rebuilds the Nim compiler if the corresponding submodule is updated #- rebuilds the Nim compiler if the corresponding submodule is updated
update-common: | sanity-checks update-common: | sanity-checks
git submodule foreach --quiet 'git ls-files --exclude-standard --recurse-submodules -z | while read -r -d "" F; do [[ "$F" =~ ^\..*$$ ]] || rm -rf "$$F"; done' git submodule foreach --quiet 'git ls-files --exclude-standard --recurse-submodules -z | while read -r -d "" F; do [[ "$$F" =~ ^\..*$$ ]] || rm -rf "$$F"; done'
git submodule update --init --recursive || true git submodule update --init --recursive || true
# changing URLs in a submodule's submodule means we have to sync and update twice # changing URLs in a submodule's submodule means we have to sync and update twice
git submodule sync --quiet --recursive git submodule sync --quiet --recursive
git submodule update --init --recursive git submodule update --init --recursive
git submodule foreach --quiet --recursive 'git reset .' git submodule foreach --quiet --recursive 'git reset --hard'
rm -rf $(NIMBLE_DIR) rm -rf $(NIMBLE_DIR)
+ $(MAKE) --no-print-directory deps + $(MAKE) --no-print-directory deps
ifeq ($(USE_SYSTEM_NIM), 0) ifeq ($(USE_SYSTEM_NIM), 0)