harden clean-host generation and shutdown

This commit is contained in:
Sinabina
2026-07-17 13:30:19 -07:00
parent c0f280dbf7
commit cb53351652
21 changed files with 443 additions and 37 deletions
+3 -7
View File
@@ -33,21 +33,17 @@ case "$(uname -s)" in
esac
"$BUN_CMD" run vendor:xterm
if [ "$RUNTIME_ONLY" -eq 0 ]; then
"$BUN_CMD" run gen:gstack2
"$BUN_CMD" run gen:skill-docs --host all
fi
"$BUN_CMD" build --compile browse/src/cli.ts --outfile browse/dist/browse
"$BUN_CMD" build --compile browse/src/find-browse.ts --outfile browse/dist/find-browse
"$BUN_CMD" build --compile design/src/cli.ts --outfile design/dist/design
"$BUN_CMD" build --compile make-pdf/src/cli.ts --outfile make-pdf/dist/pdf
if [ "$RUNTIME_ONLY" -eq 0 ]; then
"$BUN_CMD" build --compile bin/gstack-global-discover.ts --outfile bin/gstack-global-discover
fi
bash browse/scripts/build-node-server.sh
bash scripts/write-version-files.sh browse/dist/.version design/dist/.version make-pdf/dist/.version
chmod +x browse/dist/browse browse/dist/find-browse design/dist/design make-pdf/dist/pdf
if [ "$RUNTIME_ONLY" -eq 0 ]; then
"$BUN_CMD" run gen:gstack2
"$BUN_CMD" run gen:skill-docs --host all
"$BUN_CMD" build --compile bin/gstack-global-discover.ts --outfile bin/gstack-global-discover
chmod +x bin/gstack-global-discover
fi
rm -f .*.bun-build