feat: support c++ targets (#60)

* feat: support c++ targets

* fix: compile all protos under ./proto

* chore: Apply suggestions from code review

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
This commit is contained in:
Lei, HUANG
2023-07-11 19:33:39 +08:00
committed by GitHub
parent 53d0a7c5b0
commit 7de3f31fd0
46 changed files with 149701 additions and 7 deletions
+6 -1
View File
@@ -2,7 +2,7 @@
BUILDER_CONTAINER=namely/protoc-all:1.51_1
all: rust go java
all: rust go java cpp
rust:
cargo build
@@ -19,3 +19,8 @@ java:
docker run -t -w /greptime-proto \
--entrypoint ./scripts/generate-java.sh \
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
cpp:
docker run -t -w /greptime-proto \
--entrypoint ./scripts/generate-cpp.sh \
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}