File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 22EPOCH_TEST_COMMIT := 78e6667ae2d67aad100b28ee9580b41b7a24e667
33OUTPUT_DIRNAME ?= output/
44DOC_FILENAME ?= oci-runtime-spec
5+ SHELL ?= $(shell command -v sh 2>/dev/null)
56DOCKER ?= $(shell command -v docker 2>/dev/null)
67PANDOC ?= $(shell command -v pandoc 2>/dev/null)
78ifeq "$(strip $(PANDOC ) ) " ''
@@ -97,17 +98,17 @@ install.tools: .install.golint .install.govet .install.gitvalidation
9798# golint does not even build for <go1.5
9899.install.golint :
99100ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION ) ) ,true)
100- go get github.com/golang/lint/golint
101+ go get -u github.com/golang/lint/golint
101102endif
102103
103104# go vet is now included in >=go1.5, so no need to get it.
104105.install.govet :
105- ifeq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION ) ) ,true)
106- go get golang.org/x/tools/cmd/vet
106+ ifneq ($(call ALLOWED_GO_VERSION,1.5,$(HOST_GOLANG_VERSION ) ) ,true)
107+ go get -u golang.org/x/tools/cmd/vet
107108endif
108109
109110.install.gitvalidation :
110- go get github.com/vbatts/git-validation
111+ go get -u github.com/vbatts/git-validation
111112
112113
113114.PHONY : clean
You can’t perform that action at this time.
0 commit comments