morz-infoboard/Makefile
2026-03-22 13:42:00 +01:00

22 lines
431 B
Makefile

BACKEND_DIR=server/backend
AGENT_DIR=player/agent
.PHONY: build build-backend build-agent run-backend run-agent fmt
build: build-backend build-agent
build-backend:
cd $(BACKEND_DIR) && go build ./...
build-agent:
cd $(AGENT_DIR) && go build ./...
run-backend:
cd $(BACKEND_DIR) && go run ./cmd/api
run-agent:
cd $(AGENT_DIR) && go run ./cmd/agent
fmt:
cd $(BACKEND_DIR) && go fmt ./...
cd $(AGENT_DIR) && go fmt ./...