Files
lspd/cln_plugin/genproto.sh
2023-01-05 13:18:44 +01: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