From 122613b7a9c6491b228a13622bc157e7e7e8073a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Wed, 5 Jan 2022 09:57:13 +0100 Subject: [PATCH] build: added Makefile option SKIP_SERVER_RUST --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5723729..b8934d77 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,9 @@ build: make --directory=aw-watcher-afk build make --directory=aw-watcher-window build make --directory=aw-server build SKIP_WEBUI=$(SKIP_WEBUI) +ifndef SKIP_SERVER_RUST # Skip building aw-server-rust if SKIP_SERVER_RUST is defined make --directory=aw-server-rust build SKIP_WEBUI=$(SKIP_WEBUI) +endif make --directory=aw-qt build # The below is needed due to: https://github.com/ActivityWatch/activitywatch/issues/173 make --directory=aw-client build @@ -143,11 +145,11 @@ package: # make --directory=aw-server package cp -r aw-server/dist/aw-server dist/activitywatch -# +ifndef SKIP_SERVER_RUST make --directory=aw-server-rust package mkdir -p dist/activitywatch/aw-server-rust cp -r aw-server-rust/target/package/* dist/activitywatch/aw-server-rust -# +endif make --directory=aw-qt package cp -r aw-qt/dist/aw-qt/. dist/activitywatch # Remove problem-causing binaries, see https://github.com/ActivityWatch/activitywatch/issues/161