File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # base
4+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/util/* .proto
5+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/config/* .proto
6+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/sources/storage_path/* .proto
7+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/core/* .proto
8+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/example/* .proto
9+
10+ # apis
11+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/apis/* .proto
12+ protoc -I. -I ${GOPATH} /src/github.com/tensorflow/tensorflow --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative tensorflow_serving/apis/internal/* .proto
13+
14+ # format
15+ go fmt ./...
You can’t perform that action at this time.
0 commit comments