File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 11language : go
22go :
3- - 1.6
4- - 1.5.3
3+ - 1.7
4+ - 1.6.3
5+ - 1.5.4
56
67sudo : required
78
Original file line number Diff line number Diff line change @@ -68,9 +68,7 @@ ALLOWED_GO_VERSION = $(shell test '$(shell /bin/echo -e "$(1)\n$(2)" | sort -V |
6868
6969test : .govet .golint .gitvalidation
7070
71- # `go get golang.org/x/tools/cmd/vet`
7271.govet :
73- @go tool | grep -qw vet || (echo " ERROR: 'go vet' not found. Consider 'make install.tools' target" && false)
7472 go vet -x ./...
7573
7674# `go get github.com/golang/lint/golint`
@@ -92,22 +90,16 @@ endif
9290
9391
9492.PHONY : install.tools
95- install.tools : .install.golint .install.govet .install. gitvalidation
93+ install.tools : .install.golint .install.gitvalidation
9694
9795# golint does not even build for <go1.5
9896.install.golint :
9997ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION ) ) ,true)
100- go get github.com/golang/lint/golint
101- endif
102-
103- # go vet is now included in >=go1.5, so no need to get it.
104- .install.govet :
105- ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION ) ) ,true)
106- go get golang.org/x/tools/cmd/vet
98+ go get -u github.com/golang/lint/golint
10799endif
108100
109101.install.gitvalidation :
110- go get github.com/vbatts/git-validation
102+ go get -u github.com/vbatts/git-validation
111103
112104
113105.PHONY : clean
You can’t perform that action at this time.
0 commit comments