diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-04-23 15:35:43 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-04-23 15:35:43 +0300 |
commit | c0c514dd106dce4d70fd859dce3206ba7f3a3bed (patch) | |
tree | 41593340a1c6f950e3983c243f8bb8883f4cdb34 /Makefile.internal.mk | |
parent | 1959e752a7ab0d78990c9a537aefc79f2c13f5d7 (diff) |
Work around golang.org/x/lint download trouble
Diffstat (limited to 'Makefile.internal.mk')
-rw-r--r-- | Makefile.internal.mk | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile.internal.mk b/Makefile.internal.mk index 309083ff..1cbb09ed 100644 --- a/Makefile.internal.mk +++ b/Makefile.internal.mk @@ -34,20 +34,16 @@ Q := $(if $V,,@) $Q ln -s ../bin .GOPATH/bin $Q touch $@ -.PHONY: bin/gocovmerge bin/goimports +.PHONY: bin/gocovmerge bin/goimports bin/gocyclo bin/golint bin/gocovmerge: .GOPATH/.ok - @test -d ./vendor/github.com/wadey/gocovmerge || \ + @test -x $@ || \ { echo "Vendored gocovmerge not found, try running 'make setup'..."; exit 1; } - $Q go install $(IMPORT_PATH)/vendor/github.com/wadey/gocovmerge bin/gocyclo: .GOPATH/.ok - @test -d ./vendor/github.com/fzipp/gocyclo || \ + @test -x $@ || \ { echo "Vendored gocyclo not found, try running 'make setup'..."; exit 1; } - $Q go get github.com/fzipp/gocyclo bin/goimports: .GOPATH/.ok - @test -d ./vendor/golang.org/x/tools/cmd/goimports || \ + @test -x $@ || \ { echo "Vendored goimports not found, try running 'make setup'..."; exit 1; } - $Q go install $(IMPORT_PATH)/vendor/golang.org/x/tools/cmd/goimports bin/golint: .GOPATH/.ok - @test -d ./vendor/github.com/golang/lint/golint || \ + @test -x $@ || \ { echo "Vendored golint not found, try running 'make setup'..."; exit 1; } - $Q go install $(IMPORT_PATH)/vendor/github.com/golang/lint/golint |