Files
alexei.dolgolyov 791cd4d6af
Build / build (push) Successful in 12m20s
feat: rename Docker Watcher to Tinyforge
Rebrand the project as Tinyforge to reflect its evolution from a Docker
container watcher into a self-hosted mini CI/deployment platform.

Rename covers: Go module path, Docker labels, DB/config filenames,
JWT issuer, Dockerfile binary, docker-compose, CI workflows, frontend
i18n, README with static sites docs, and all code comments.
2026-04-12 21:30:39 +03:00

22 lines
622 B
Makefile

.PHONY: build build-frontend build-backend dev clean
# Build everything: frontend first, then backend (which embeds frontend).
build: build-frontend build-backend
# Build the SvelteKit frontend to web/build/.
build-frontend:
cd web && npm install && npm run build
# Build the Go binary (embeds web/build/ via go:embed).
build-backend:
go build -o tinyforge ./cmd/server
# Run in development mode with hot reload.
# Requires air (go install github.com/air-verse/air@latest).
dev:
air -c .air.toml 2>/dev/null || go run ./cmd/server
# Clean build artifacts.
clean:
rm -rf web/build web/node_modules/.vite tinyforge