Skip to content

Commit 7a57e50

Browse files
committed
Fix protobuild
Backport #4188 Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent b3b3ea6 commit 7a57e50

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

script/setup/install-dev-tools

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@
2020
#
2121
set -eu -o pipefail
2222

23-
go get -u github.com/stevvooe/protobuild
23+
# install the `protobuild` binary in $GOPATH/bin; requires module-aware install
24+
# to pin dependencies
25+
GO111MODULE=on go get github.com/stevvooe/protobuild
26+
27+
# the following packages need to exist in $GOPATH so we can't use
28+
# go modules-aware mode of `go get` for these includes used during
29+
# proto building
30+
GO111MODULE=off go get -d github.com/gogo/googleapis || true
31+
GO111MODULE=off go get -d github.com/gogo/protobuf || true
32+
2433
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
2534
go get -u github.com/cpuguy83/go-md2man
2635

0 commit comments

Comments
 (0)