From a9c02353043e8353d56241a09a5ae01c1c0f459e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 12 Oct 2016 21:36:28 -0700 Subject: [PATCH] Makefile: Require Go >= 1.6 for golint golint dropped support for Go 1.5 [1]. [1]: https://github.com/golang/lint/commit/a428635c58fe96360e83667e2e1a8343fc292bf0 Drop support for Go 1.5, 2016-09-15 Signed-off-by: W. Trevor King --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8cc2a49..d4a8227 100644 --- a/Makefile +++ b/Makefile @@ -73,7 +73,7 @@ test: .govet .golint .gitvalidation # `go get github.com/golang/lint/golint` .golint: -ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION)),true) +ifeq ($(call ALLOWED_GO_VERSION,1.6,$(HOST_GOLANG_VERSION)),true) @which golint > /dev/null 2>/dev/null || (echo "ERROR: golint not found. Consider 'make install.tools' target" && false) golint ./... endif @@ -92,9 +92,9 @@ endif .PHONY: install.tools install.tools: .install.golint .install.gitvalidation -# golint does not even build for