mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2024-12-12 13:50:19 +01:00
8 lines
151 B
Bash
8 lines
151 B
Bash
|
#!/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
|
||
|
|