feat: allow passing args to `make run`

This commit is contained in:
Richard Ramos 2023-10-19 14:27:27 -04:00 committed by richΛrd
parent 3c5b353ab7
commit b638e1bf53
1 changed files with 3 additions and 3 deletions

View File

@ -862,7 +862,7 @@ ICON_TOOL := node_modules/.bin/fileicon
run-linux: nim_status_client
echo -e "\033[92mRunning:\033[39m bin/nim_status_client"
LD_LIBRARY_PATH="$(QT5_LIBDIR)":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR):$(LD_LIBRARY_PATH)" \
./bin/nim_status_client
./bin/nim_status_client $(ARGS)
run-macos: nim_status_client
mkdir -p bin/StatusDev.app/Contents/{MacOS,Resources}
@ -872,12 +872,12 @@ run-macos: nim_status_client
ln -fs ../../../nim_status_client ./
./node_modules/.bin/fileicon set bin/nim_status_client status-dev.icns
echo -e "\033[92mRunning:\033[39m bin/StatusDev.app/Contents/MacOS/nim_status_client"
./bin/StatusDev.app/Contents/MacOS/nim_status_client
./bin/StatusDev.app/Contents/MacOS/nim_status_client $(ARGS)
run-windows: nim_status_client $(NIM_WINDOWS_PREBUILT_DLLS)
echo -e "\033[92mRunning:\033[39m bin/nim_status_client.exe"
PATH="$(DOTHERSIDE_LIBDIR)":"$(STATUSGO_LIBDIR)":"$(STATUSKEYCARDGO_LIBDIR)":"$(shell pwd)"/"$(shell dirname "$(NIM_WINDOWS_PREBUILT_DLLS)")":"$(PATH)" \
./bin/nim_status_client.exe
./bin/nim_status_client.exe $(ARGS)
tests-nim-linux: | dotherside
LD_LIBRARY_PATH="$(QT5_LIBDIR):$(LD_LIBRARY_PATH)" \