chore(general): ability to run StatusQ sanity checker from main Makefile

Closes: #7854
This commit is contained in:
Michał Cieślak 2022-10-27 16:59:55 +02:00 committed by Jakub
parent 5f659da9f8
commit 3d98ad6991
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,8 @@ BUILD_SYSTEM_DIR := vendor/nimbus-build-system
run-windows \ run-windows \
status-go \ status-go \
status-keycard-go \ status-keycard-go \
statusq-sanity-checker \
run-statusq-sanity-checker \
update update
ifeq ($(NIM_PARAMS),) ifeq ($(NIM_PARAMS),)
@ -637,4 +639,10 @@ run-windows: nim_status_client $(NIM_WINDOWS_PREBUILT_DLLS)
PATH="$(shell pwd)"/"$(shell dirname "$(DOTHERSIDE)")":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR)":"$(shell pwd)"/"$(shell dirname "$(NIM_WINDOWS_PREBUILT_DLLS)")":"$(PATH)" \ PATH="$(shell pwd)"/"$(shell dirname "$(DOTHERSIDE)")":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR)":"$(shell pwd)"/"$(shell dirname "$(NIM_WINDOWS_PREBUILT_DLLS)")":"$(PATH)" \
./bin/nim_status_client.exe ./bin/nim_status_client.exe
statusq-sanity-checker:
cmake -Bui/StatusQ/build -Sui/StatusQ && cmake --build ui/StatusQ/build --target SanityChecker
run-statusq-sanity-checker: statusq-sanity-checker
ui/StatusQ/build/sanity_checker/SanityChecker
endif # "variables.mk" was not included endif # "variables.mk" was not included