transfer.sh/vendor/go.opencensus.io/internal/testpb/generate.sh
2019-03-17 20:19:56 +01:00

7 lines
151 B
Bash
Executable file

#!/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