diff --git a/Makefile b/Makefile index fc064ddd..2c99e59e 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,11 @@ fmt: ## Run go fmt against code. vet: ## Run go vet against code. go vet ./... +.PHONY: tidy +tidy: ## Run go mod tidy on every mod file in the repo + go mod tidy + cd ./api && go mod tidy + .PHONY: test test: manifests generate fmt vet envtest ginkgo ## Run tests. KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" \