From 3d15d8fd9d2fd274ef516060d3a32b43d514f1aa Mon Sep 17 00:00:00 2001 From: Evan Hoffman Date: Fri, 4 Sep 2026 22:49:18 -0400 Subject: [PATCH] Build monitord before reading its bin path in make-app.sh --- Scripts/make-app.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Scripts/make-app.sh b/Scripts/make-app.sh index 3e09005..ddffdbf 100755 --- a/Scripts/make-app.sh +++ b/Scripts/make-app.sh @@ -137,6 +137,8 @@ echo "Built $app" # level: monitor.app/ and monitord. Build it and stage the pair into # .build/package/, which the CI packaging step zips. echo "Building monitord…" +# --show-bin-path prints the path but does not build, so build first. +swift build -c release --product monitord monitord="$(swift build -c release --product monitord --show-bin-path)/monitord" [ -x "$monitord" ] || { echo "no binary at $monitord" >&2; exit 1; }