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.build.mk | |
parent | 1959e752a7ab0d78990c9a537aefc79f2c13f5d7 (diff) |
Work around golang.org/x/lint download trouble
Diffstat (limited to 'Makefile.build.mk')
-rw-r--r-- | Makefile.build.mk | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.build.mk b/Makefile.build.mk index 70f446d4..89ec29de 100644 --- a/Makefile.build.mk +++ b/Makefile.build.mk @@ -3,11 +3,13 @@ all: gitlab-pages setup: clean .GOPATH/.ok - go get -u github.com/FiloSottile/gvt - - ./bin/gvt fetch golang.org/x/tools/cmd/goimports - - ./bin/gvt fetch github.com/wadey/gocovmerge - - ./bin/gvt fetch github.com/golang/lint/golint - - ./bin/gvt fetch github.com/fzipp/gocyclo + go get golang.org/x/tools/cmd/goimports + # Workaround for broken 'go get golang.org/x/lint' due to Google hosting problems + git clone --quiet https://github.com/golang/lint $(GOPATH)/src/golang.org/x/lint + go install golang.org/x/lint/golint + go get golang.org/x/tools/cmd/goimports + go get github.com/wadey/gocovmerge + go get github.com/fzipp/gocyclo build: .GOPATH/.ok $Q go install $(if $V,-v) $(VERSION_FLAGS) $(IMPORT_PATH) |