Files
proxui/Makefile
T

38 lines
951 B
Makefile

SHELL := /bin/sh
GOCACHE ?= $(CURDIR)/.tmp/go-build
GO := env GOCACHE=$(GOCACHE) go
COMPOSE := docker compose
.PHONY: dev dev-down dev-logs migrate test lint build frontend-build verify clean
dev:
@echo "Dev infrastructure is not configured yet. Next step: official Supabase self-host stack."
dev-down:
@echo "No dev infrastructure is configured."
dev-logs:
@echo "No dev infrastructure is configured."
migrate:
@echo "No migrations configured yet. E2-T01 will wire golang-migrate."
test:
env GOCACHE="$(GOCACHE)" go test ./backend/... ./worker/... ./console-proxy/...
lint:
env GOCACHE="$(GOCACHE)" go vet ./backend/... ./worker/... ./console-proxy/...
npm run lint --prefix frontend
build:
env GOCACHE="$(GOCACHE)" go build ./backend/cmd/api ./worker/cmd/worker ./console-proxy/cmd/console-proxy
frontend-build:
npm run build --prefix frontend
verify: lint test build frontend-build
clean:
rm -rf frontend/dist ".tmp/go-build"