From ad2b3a95a5138e203e9ebdd3ba017fa0af3ddb1d Mon Sep 17 00:00:00 2001 From: Claudia Date: Fri, 25 Nov 2022 14:08:35 +0000 Subject: [PATCH] fix: Install counterfeiter to correct location (#11) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0392447..b591b3b 100644 --- a/Makefile +++ b/Makefile @@ -62,7 +62,7 @@ test: ## Run tests. ##@ Build .PHONY: build -build: generate fmt vet ## Build manager binary. +build: fmt vet ## Build manager binary. go build -o bin/manager main.go .PHONY: run @@ -151,7 +151,7 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: counterfeiter counterfeiter: $(COUNTERFEITER) $(COUNTERFEITER): $(LOCALBIN) - cd $(LOCALBIN); go build -o $(subst bin/,,$@) github.com/maxbrunsfeld/counterfeiter/v6 + cd $(LOCALBIN); go build -o . github.com/maxbrunsfeld/counterfeiter/v6 .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.