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:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
PROTO_ROOT=./proto
|
||||
CPP_OUTPUT=./c++
|
||||
|
||||
protoc --proto_path=proto/ --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
|
||||
@@ -3,9 +3,4 @@
|
||||
PROTO_ROOT=./proto
|
||||
JAVA_OUTPUT=./java/src/main/java/
|
||||
|
||||
protoc -I=${PROTO_ROOT} --java_out=${JAVA_OUTPUT} \
|
||||
${PROTO_ROOT}/greptime/v1/common.proto \
|
||||
${PROTO_ROOT}/greptime/v1/prom.proto \
|
||||
${PROTO_ROOT}/greptime/v1/column.proto \
|
||||
${PROTO_ROOT}/greptime/v1/ddl.proto \
|
||||
${PROTO_ROOT}/greptime/v1/database.proto
|
||||
protoc -I=${PROTO_ROOT} --java_out=${JAVA_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
|
||||
|
||||
Reference in New Issue
Block a user