Files
lspd/cln_plugin/genproto.sh
2023-08-18 17:02:53 +02:00

5 lines
221 B
Bash
Executable File

#!/bin/bash
SCRIPTDIR=$(dirname $0)
PROTO_ROOT=$SCRIPTDIR/proto
protoc --go_out=$PROTO_ROOT --go_opt=paths=source_relative --go-grpc_out=$PROTO_ROOT --go-grpc_opt=paths=source_relative -I=$PROTO_ROOT $PROTO_ROOT/*.proto