first commit

This commit is contained in:
phattaranun.a committed 2026-05-24 22:55:17 +07:00
commit 2a1854ab08
120 files changed
+11300

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
.PHONY: lint lint-be lint-fe fmt fmt-be fmt-fe check typecheck build
# ── Backend ──────────────────────────────────────────────────────────────────
lint-be:
cd backend && cargo clippy -- -D warnings
fmt-be:
cd backend && cargo fmt
fmt-be-check:
cd backend && cargo fmt -- --check
check-be:
cd backend && cargo check
# ── Frontend ─────────────────────────────────────────────────────────────────
lint-fe:
cd frontend && npm run lint
typecheck-fe:
cd frontend && npx tsc --noEmit
# ── Combined ─────────────────────────────────────────────────────────────────
lint: lint-be lint-fe
fmt: fmt-be
check: fmt-be-check lint-be check-be typecheck-fe lint-fe
# ── Build ────────────────────────────────────────────────────────────────────
build:
docker compose build
up:
docker compose up -d
down:
docker compose down
logs:
docker compose logs -f