Updated Makefile

Added ignore exit code flag to libraries when updating that are cloned later.
This commit is contained in:
Ethan Smith-Coss 2024-07-01 19:30:51 +01:00
parent 70a4974ffd
commit ab379ad0b5
Signed by: TheOnePath
GPG Key ID: 1D351CCC6D01F32B

View File

@ -133,8 +133,9 @@ update:
@echo "Updating module components..." @echo "Updating module components..."
git submodule foreach \ git submodule foreach \
'git pull origin $$(git rev-parse --abbrev-ref HEAD)' 'git pull origin $$(git rev-parse --abbrev-ref HEAD)'
cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD) # In case these libraries haven't been pulled yet, ignore the exit code
cd libxcb-error && git pull origin $$(git rev-parse --abbrev-ref HEAD) -cd tomlplusplus && git pull origin $$(git rev-parse --abbrev-ref HEAD)
-cd libxcb-error && git pull origin $$(git rev-parse --abbrev-ref HEAD)
test: build test: build
@echo "Be real, you don't want to do this, so we'll abort." @echo "Be real, you don't want to do this, so we'll abort."