Skip to content

Commit

Permalink
Only lint on 1.6
Browse files Browse the repository at this point in the history
We can't lint on 1.7 till we work around
stretchr/testify#339
  • Loading branch information
prashantv committed Oct 4, 2016
1 parent 6b29574 commit 25aab0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export GO15VENDOREXPERIMENT=1
GO_VERSION := $(shell go version | awk '{ print $$3 }')
GO_MINOR_VERSION := $(word 2,$(subst ., ,$(GO_VERSION)))
LINTABLE_MINOR_VERSIONS := 5 6
FMTABLE_MINOR_VERSIONS := 6
LINTABLE_MINOR_VERSIONS := 6
FMTABLE_MINOR_VERSIONS := 7
ifneq ($(filter $(LINTABLE_MINOR_VERSIONS),$(GO_MINOR_VERSION)),)
SHOULD_LINT := true
endif
Expand Down

0 comments on commit 25aab0e

Please sign in to comment.