diff --git a/Makefile b/Makefile index 2108a727..abdf4d13 100644 --- a/Makefile +++ b/Makefile @@ -73,14 +73,14 @@ test: INSTALLED_GO_VERSION=$(shell go version) dep-check: - + ifeq (,$(findstring $(GOVERSION), $(INSTALLED_GO_VERSION))) # Only send a warning. -# @echo "Dependency missing: go$(GOVERSION). Ensure 'go$(GOVERSION).x' is installed and available in your 'PATH'" + @echo "Dependency missing: go$(GOVERSION). Ensure 'go$(GOVERSION).x' is installed and available in your 'PATH'" @echo "GOVERSION: " $(GOVERSION) - @echo "INSTALLED_GO_VERSION: " $(INSTALLED_GO_VERSION) + @echo "INSTALLED_GO_VERSION: " $(INSTALLED_GO_VERSION) # Force error and stop. - $(error Found $(INSTALLED_GO_VERSION). \ - Required golang version is: 'go$(GOVERSION).x'. \ - Ensure go '$(GOVERSION).x' is installed and available in your 'PATH'.) -endif \ No newline at end of file +# $(error Found $(INSTALLED_GO_VERSION). \ +# Required golang version is: 'go$(GOVERSION).x'. \ +# Ensure go '$(GOVERSION).x' is installed and available in your 'PATH'.) +endif