transfer.sh/vendor/go.opencensus.io/internal/testpb/generate.sh

8 lines
151 B
Bash
Raw Normal View History

2019-03-17 20:19:56 +01:00
#!/bin/sh
# generate .pb.go file from .proto file.
set -e
protoc --go_out=plugins=grpc:. test.proto
echo '//go:generate ./generate.sh
' >> test.pb.go