mirror of https://github.com/lightninglabs/loop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
389 B
Bash
14 lines
389 B
Bash
6 years ago
|
#!/bin/sh
|
||
|
|
||
6 years ago
|
# Generate the server protos.
|
||
6 years ago
|
protoc -I/usr/local/include -I.\
|
||
|
-I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||
|
--go_out=plugins=grpc,paths=source_relative:. \
|
||
|
server.proto
|
||
6 years ago
|
|
||
|
# Generate the client protos.
|
||
|
protoc -I/usr/local/include -I. \
|
||
|
-I$GOPATH/src \
|
||
|
--go_out=plugins=grpc:. \
|
||
|
client.proto
|