summaryrefslogtreecommitdiffhomepage
path: root/BUILD.md
diff options
context:
space:
mode:
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