fix(ci): fix CI build and update Makefile to build all services

This commit is contained in:
2025-11-06 22:34:49 +01:00
parent ad4ecaed1f
commit 471a057d25
2 changed files with 15 additions and 6 deletions

View File

@@ -18,7 +18,7 @@ help:
@echo " make lint - Run linters"
@echo " make fmt - Format code"
@echo " make fmt-check - Check code formatting"
@echo " make build - Build platform and api-gateway binaries"
@echo " make build - Build all service binaries"
@echo " make clean - Clean build artifacts"
@echo " make docker-build - Build Docker image"
@echo " make docker-run - Run Docker container"
@@ -85,10 +85,14 @@ fmt-check:
@echo "Code is properly formatted"
build:
@echo "Building platform and api-gateway binaries..."
@echo "Building all service binaries..."
$(GO) build -v -o bin/platform ./cmd/platform
$(GO) build -v -o bin/api-gateway ./cmd/api-gateway
@echo "Build complete: bin/platform, bin/api-gateway"
$(GO) build -v -o bin/auth-service ./cmd/auth-service
$(GO) build -v -o bin/identity-service ./cmd/identity-service
$(GO) build -v -o bin/authz-service ./cmd/authz-service
$(GO) build -v -o bin/audit-service ./cmd/audit-service
@echo "Build complete: bin/platform, bin/api-gateway, bin/auth-service, bin/identity-service, bin/authz-service, bin/audit-service"
clean:
@echo "Cleaning build artifacts..."