You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

8 lines
151 B

  1. #!/bin/sh
  2. # generate .pb.go file from .proto file.
  3. set -e
  4. protoc --go_out=plugins=grpc:. test.proto
  5. echo '//go:generate ./generate.sh
  6. ' >> test.pb.go