Skip to content

Commit

Permalink
[FAB-9667] temporary workaround for golint breakage
Browse files Browse the repository at this point in the history
as suggested by golang/lint#397

Change-Id: Ib70aeac594e5c02e45226c77fe33d8f5df26445d
Signed-off-by: Srinivasan Muralidharan <srinivasan.muralidharan99@gmail.com>
  • Loading branch information
muralisrini committed Apr 24, 2018
1 parent 2a63e26 commit 2561a4b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gotools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ go.fqp.counterfeiter := github.com/maxbrunsfeld/counterfeiter
go.fqp.gocov := github.com/axw/gocov/gocov
go.fqp.gocov-xml := github.com/AlekSi/gocov-xml
go.fqp.goimports := golang.org/x/tools/cmd/goimports
go.fqp.golint := github.com/golang/lint/golint
#-----temporarty workaround for FAB-9667---
#go.fqp.golint := github.com/golang/lint/golint
go.fqp.misspell := github.com/client9/misspell/cmd/misspell
go.fqp.mockery := github.com/vektra/mockery/cmd/mockery
go.fqp.manifest-tool := github.com/estesp/manifest-tool
Expand All @@ -25,6 +26,11 @@ gotools-install: $(patsubst %,$(GOTOOLS_BINDIR)/%, $(GOTOOLS))
gotools-clean:
-@rm -rf $(BUILD_DIR)/gotools

#-----temporarty workaround for FAB-9667---
gotool.golint:
@git clone https://github.com/golang/lint.git $(GOTOOLS_GOPATH)/src/golang.org/x/lint
@GOPATH=$(abspath $(GOTOOLS_GOPATH)) GOBIN=$(abspath $(GOTOOLS_BINDIR)) go install golang.org/x/lint/golint

# Special override for protoc-gen-go since we want to use the version vendored with the project
gotool.protoc-gen-go:
@echo "Building github.com/golang/protobuf/protoc-gen-go -> protoc-gen-go"
Expand Down

0 comments on commit 2561a4b

Please sign in to comment.