mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 04:10:47 +02:00
harden clean-host generation and shutdown
This commit is contained in:
+3
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user