update-common: run the "deps" target at the end

This commit is contained in:
Ștefan Talpalaru 2020-05-15 14:25:17 +02:00
parent 89709a0913
commit 4ce1ae394a
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,7 @@ build-nim: | sanity-checks
#- in case of submodule URL changes, propagates that change in the parent repo's .git directory
#- initialises and updates the Git submodules
#- manages the AppVeyor cache of Nim compiler binaries
#- deletes the ".nimble" dir to force the execution of the "deps" target
#- deletes the ".nimble" dir and executes the "deps" target
#- allows parallel building with the '+' prefix
#- rebuilds the Nim compiler if the corresponding submodule is updated
update-common: | sanity-checks
@ -56,6 +56,7 @@ update-common: | sanity-checks
git submodule sync --quiet --recursive
git submodule update --init --recursive
rm -rf $(NIMBLE_DIR)
+ $(MAKE) --no-print-directory deps
ifeq ($(USE_SYSTEM_NIM), 0)
+ $(MAKE) --no-print-directory build-nim
endif