From 0c1ecba188e48c2dc14ed0b52441ded8246acc96 Mon Sep 17 00:00:00 2001 From: Christoph Voigt Date: Sat, 9 Mar 2024 11:23:45 +0100 Subject: [PATCH] fix make compile command --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 516c713..9ebda0b 100644 --- a/Makefile +++ b/Makefile @@ -91,14 +91,14 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes .PHONY: golangci-build golangci-build: ## Build manager binary. - go build -ldflags "${LDFLAGS}" -a -o bin/manager cmd/main.go + go build -ldflags "${LDFLAGS}" -a -o bin/manager ./cmd/rcm/main.go .PHONY: build build: manifests generate fmt vet golangci-build ## Build manager binary. .PHONY: run run: manifests generate fmt vet ## Run a controller from your host. - CONTROLLER_NAMESPACE="default" go run -ldflags "${LDFLAGS}" ./cmd/main.go + CONTROLLER_NAMESPACE="default" go run -ldflags "${LDFLAGS}" ./cmd/rcm/main.go # If you wish to build the manager image targeting other platforms you can use the --platform flag. # (i.e. docker build --platform linux/arm64). However, you must enable docker buildKit for it.