@@ -9,8 +9,8 @@ proto: ## Regenerate Go + TS code from proto
|
||||
--es_out=web/src/gen --es_opt=target=ts \
|
||||
proto/homelab/v1/homelab.proto
|
||||
|
||||
web: ## Build frontend into web/dist (tsc + vite)
|
||||
cd web && pnpm install --frozen-lockfile && pnpm build
|
||||
web: ## Build frontend into dist/ (tsc + vite) — same dir the binary serves
|
||||
cd web && pnpm install --frozen-lockfile && pnpm build && rm -rf ../dist && cp -r dist ../dist
|
||||
|
||||
server: ## Build Go binary → bin/hub-api
|
||||
go build -o bin/hub-api ./server
|
||||
|
||||
Reference in New Issue
Block a user