From 3718fe59bdc29a668dc982f237ffd644f94bcba3 Mon Sep 17 00:00:00 2001 From: Joe Stephenson Date: Wed, 5 Oct 2022 11:55:09 +0100 Subject: [PATCH] install mockgen with go install --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index dc192953..94a95d78 100644 --- a/Makefile +++ b/Makefile @@ -239,6 +239,7 @@ kustomize: ## Download kustomize locally if necessary. MOCKGEN = $(shell pwd)/bin/mockgen mockgen: + go install github.com/golang/mock/mockgen@v1.6.0 $(call go-get-tool,$(MOCKGEN),github.com/golang/mock/mockgen@v1.6.0) OPERATOR_SDK_DOWNLOAD_URL = "https://github.com/operator-framework/operator-sdk/releases/download/v1.21.0/operator-sdk_linux_amd64"