summaryrefslogtreecommitdiffhomepage
path: root/BUILD.md
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-06 21:48:21 +0900
committerFUJITA Tomonori <fujita.tomonori@gmail.com>2019-04-06 21:48:21 +0900
commit2965e8092e4510c35d13304f2896ce5d7593d635 (patch)
tree337100942a3fc0d2b772ab01bb331014181a1d82 /BUILD.md
parentd39243ad363293c78af93af401c40649fe97610c (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.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/BUILD.md b/BUILD.md
index 2b3b3c15..af1bfb26 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -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