build: pin protoc version and update protobuf + regenerate

This commit is contained in:
Christian Schwarz
2018-08-26 14:35:18 +02:00
parent ea0e3a29e4
commit cf01086df5
6 changed files with 332 additions and 101 deletions
+2 -1
View File
@@ -29,7 +29,8 @@ builddep() {
step "Install build depdencies using 'go get' to \$GOPATH/bin"
go get -u golang.org/x/tools/cmd/stringer
go get -u github.com/golang/dep/cmd/dep
if ! type stringer || ! type dep; then
go get -u github.com/golang/protobuf/protoc-gen-go
if ! type stringer || ! type dep || ! type protoc-gen-go; then
echo "Installed dependencies but can't find them in \$PATH, adjust it to contain \$GOPATH/bin" 1>&2
exit 1
fi