diff options
author | Jacob Vosmaer (GitLab) <jacob@gitlab.com> | 2018-04-23 17:40:27 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2018-04-23 17:40:27 +0300 |
commit | 4e86ae6a9be0f3e8d6ea585a0f1e5da773de12f4 (patch) | |
tree | 6404ec3d74877ad81ef3e693b8d7c6717f453f7e | |
parent | f7fa70ae1c601d9bfde7583a06406d1973bf58ea (diff) |
Golint hosting problems workaround
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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) |