Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2018-04-23 17:40:27 +0300
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2018-04-23 17:40:27 +0300
commit4e86ae6a9be0f3e8d6ea585a0f1e5da773de12f4 (patch)
tree6404ec3d74877ad81ef3e693b8d7c6717f453f7e
parentf7fa70ae1c601d9bfde7583a06406d1973bf58ea (diff)
Golint hosting problems workaround
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb8170a31..073c3b80b 100644
--- a/Makefile
+++ b/Makefile
@@ -194,7 +194,14 @@ $(GOVENDOR): $(TARGET_SETUP)
# Install golint
$(GOLINT): $(TARGET_SETUP)
- go get -v github.com/golang/lint/golint
+ # We should run only this: go get -v golang.org/x/lint/golint
+ # But that is currently (2018-04-23) broken so we have this clunky workaround.
+ mkdir -p $(GOPATH)/src/golang.org/x
+ rm -rf $(GOPATH)/src/golang.org/x/lint
+ git clone --quiet https://github.com/golang/lint $(GOPATH)/src/golang.org/x/lint
+ rm -rf $(GOPATH)/src/golang.org/x/tools
+ git clone --quiet https://github.com/golang/tools $(GOPATH)/src/golang.org/x/tools
+ go install golang.org/x/lint/golint
# Install gocovmerge
$(GOCOVMERGE): $(TARGET_SETUP)