Skip to content

Commit a9c0235

Browse files
committed
Makefile: Require Go >= 1.6 for golint
golint dropped support for Go 1.5 [1]. [1]: golang/lint@a428635 Drop support for Go 1.5, 2016-09-15 Signed-off-by: W. Trevor King <[email protected]>
1 parent a39be46 commit a9c0235

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ test: .govet .golint .gitvalidation
7373

7474
# `go get github.com/golang/lint/golint`
7575
.golint:
76-
ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION)),true)
76+
ifeq ($(call ALLOWED_GO_VERSION,1.6,$(HOST_GOLANG_VERSION)),true)
7777
@which golint > /dev/null 2>/dev/null || (echo "ERROR: golint not found. Consider 'make install.tools' target" && false)
7878
golint ./...
7979
endif
@@ -92,9 +92,9 @@ endif
9292
.PHONY: install.tools
9393
install.tools: .install.golint .install.gitvalidation
9494

95-
# golint does not even build for <go1.5
95+
# golint does not even build for <go1.6
9696
.install.golint:
97-
ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION)),true)
97+
ifeq ($(call ALLOWED_GO_VERSION,1.6,$(HOST_GOLANG_VERSION)),true)
9898
go get -u github.com/golang/lint/golint
9999
endif
100100

0 commit comments

Comments
 (0)