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
211 B

#!/bin/bash
set -xe
# ensure old generated files are removed
find "$(dirname ${0})" -type f -name '*.pb.go' -exec rm -f {} +
# update grpc files
protoc -I shepard --go_out=plugins=grpc:shepard shepard/*.proto