chore: prepare official supabase self-host setup

This commit is contained in:
Philipp
2026-06-09 21:48:31 +02:00
parent 310573e3ea
commit 206dc48403
7 changed files with 93 additions and 10 deletions
+37
View File
@@ -0,0 +1,37 @@
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"