rebuild the Nim compiler after the corresponding submodule is updated
This commit is contained in:
parent
6d8f1dacb0
commit
b6f6795a17
4
Makefile
4
Makefile
|
@ -167,11 +167,11 @@ build-nim: | deps
|
||||||
#- initialises and updates the Git submodules
|
#- initialises and updates the Git submodules
|
||||||
#- deletes the ".nimble" dir to force the execution of the "deps" target
|
#- deletes the ".nimble" dir to force the execution of the "deps" target
|
||||||
#- allows parallel building with the '+' prefix
|
#- allows parallel building with the '+' prefix
|
||||||
#- TODO: rebuild the Nim compiler after the corresponding submodule is updated
|
#- rebuilds the Nim compiler after the corresponding submodule is updated
|
||||||
$(NIM_BINARY) update:
|
$(NIM_BINARY) update:
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
rm -rf $(NIMBLE_DIR)
|
rm -rf $(NIMBLE_DIR)
|
||||||
+ [ -e $(NIM_BINARY) ] || { $(BUILD_NIM); }
|
+ [[ -e $(NIM_BINARY) && $(NIM_BINARY) -nt $(NIM_DIR)/lib/system.nim ]] || { $(BUILD_NIM); }
|
||||||
|
|
||||||
# don't use this target, or you risk updating dependency repos that are not ready to be used in Nimbus
|
# don't use this target, or you risk updating dependency repos that are not ready to be used in Nimbus
|
||||||
update-remote:
|
update-remote:
|
||||||
|
|
Loading…
Reference in New Issue