nuthatch/Makefile
ms2k 84ccfdb445 Scaffold pinned Svelte frontend toolchain
Add a strict TypeScript and Vite workspace with reproducible Node, npm, and dependency versions plus Make targets for checking and building it.
2026-07-17 22:53:39 +09:00

31 lines
610 B
Makefile

.PHONY: check-dependencies check-fixture-lib check-frontend build-frontend mvp-up mvp-down mvp-build mvp-logs mvp-ps
COMPOSE := nerdctl compose -f deploy/docker-compose.yml
check-dependencies:
./tests/kind/run.sh
check-fixture-lib:
./tests/kind/lib-test.sh
check-frontend:
npm --prefix web run check
build-frontend:
npm --prefix web run build
mvp-build:
$(COMPOSE) build nuthatch
mvp-up:
$(COMPOSE) up --build -d
@echo "Nuthatch MVP: http://127.0.0.1:8080 (dev login with any single-token username)"
mvp-down:
$(COMPOSE) down -v
mvp-logs:
$(COMPOSE) logs -f nuthatch
mvp-ps:
$(COMPOSE) ps