summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-27 15:07:39 +0900
committerAdam Malczewski <[email protected]>2026-06-27 15:07:39 +0900
commitea141f87c50ddc087e613070cd9e093fa79c5be6 (patch)
tree0f157e1d342b6a1305109ff90857542cb8903c75
parentad9d135e583c99a0d93327115defa43187cde1c3 (diff)
downloaddispatch-ea141f87c50ddc087e613070cd9e093fa79c5be6.tar.gz
dispatch-ea141f87c50ddc087e613070cd9e093fa79c5be6.zip
fix(bin): rename dispatch-web → frontend in up/build scripts
-rwxr-xr-xbin/build2
-rwxr-xr-xbin/up8
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/build b/bin/build
index c410156..ba80955 100755
--- a/bin/build
+++ b/bin/build
@@ -17,7 +17,7 @@ set -euo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
ROOT="$(cd "$HERE/.." && pwd)"
BACKEND="$ROOT"
-FRONTEND="$(cd "$ROOT/.." && pwd)/dispatch-web"
+FRONTEND="$(cd "$ROOT/.." && pwd)/frontend"
BUILD_FRONTEND=1
if [[ "${1:-}" == "--no-frontend" ]]; then
diff --git a/bin/up b/bin/up
index c0a7cbf..a049c8c 100755
--- a/bin/up
+++ b/bin/up
@@ -3,19 +3,19 @@
# Ctrl-C stops BOTH cleanly (including the backend's spawned observability collector).
#
# backend (this repo) bun --watch → HTTP :24203 + surface WS :24205 (FULL restart on change)
-# frontend (../dispatch-web) vite → http://localhost:24204 (HMR, in-place)
+# frontend (../frontend) vite → http://localhost:24204 (HMR, in-place)
#
-# Assumes dispatch-web is a sibling of this repo. Run: bin/up (or: bun run dev:all)
+# Assumes frontend is a sibling of this repo. Run: bin/up (or: bun run dev:all)
set -uo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # .../arch-rewrite/bin
BACKEND="$(cd "$HERE/.." && pwd)" # backend repo root
-FRONTEND="$(cd "$HERE/../.." && pwd)/dispatch-web" # sibling repo
+FRONTEND="$(cd "$HERE/../.." && pwd)/frontend" # sibling repo
if [ ! -d "$FRONTEND" ]; then
echo "up: frontend repo not found at $FRONTEND" >&2
- echo "up: check out 'dispatch-web' beside this repo and retry." >&2
+ echo "up: check out 'frontend' beside this repo and retry." >&2
exit 1
fi