diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-06 21:48:21 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2019-04-06 21:48:21 +0900 |
commit | 2965e8092e4510c35d13304f2896ce5d7593d635 (patch) | |
tree | 337100942a3fc0d2b772ab01bb331014181a1d82 /BUILD.md | |
parent | d39243ad363293c78af93af401c40649fe97610c (diff) |
add script to generate api/gobgp.pb.go
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Diffstat (limited to 'BUILD.md')
-rw-r--r-- | BUILD.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,6 +24,7 @@ The GoBGP project adopts [Standard Go Project Layout](https://github.com/golang- If you change the gRPC API, generate `api/gobgp.pb.go` in the following way: ```bash -$ protoc -I ~/protobuf/src -I ${GOBGP}/api --go_out=plugins=grpc:${GOBGP}/api \ - ${GOBGP}/api/gobgp.proto ${GOBGP}/api/attribute.proto ${GOBGP}/api/capability.proto +$ ./tools/grpc/genproto.sh ``` + +In order for the script to run, you'll need protoc (version 3.7.1) in your PATH.
\ No newline at end of file |