refactor: enhanced trigger interval (#269)

* fix: improve interval precision

* chore: better name

* chore: add /opt/include to proto include

* remove empty line
This commit is contained in:
fys
2025-08-18 10:58:28 +08:00
committed by GitHub
parent 16836d454c
commit 4ce7e9a3ff
9 changed files with 1048 additions and 510 deletions
+2 -2
View File
@@ -5,5 +5,5 @@ set -e
PROTO_ROOT=./proto
CPP_OUTPUT=./c++
protoc -I ${PROTO_ROOT} --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I ${PROTO_ROOT} --grpc_out=${CPP_OUTPUT} --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` $(find ./proto/ -type f -iname "*.proto")
protoc -I ${PROTO_ROOT} -I /opt/include --cpp_out=${CPP_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I ${PROTO_ROOT} -I /opt/include --grpc_out=${CPP_OUTPUT} --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` $(find ./proto/ -type f -iname "*.proto")
+2 -3
View File
@@ -5,8 +5,7 @@ set -e
PROTO_ROOT=./proto
GO_OUTPUT=./go
protoc -I=${PROTO_ROOT} --go_out=paths=source_relative:${GO_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I=${PROTO_ROOT} \
protoc -I=${PROTO_ROOT} -I /opt/include --go_out=paths=source_relative:${GO_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I=${PROTO_ROOT} -I /opt/include \
--go-grpc_out=paths=source_relative:${GO_OUTPUT} \
$(find ./proto/ -type f -iname "*.proto")
+1 -1
View File
@@ -3,4 +3,4 @@
PROTO_ROOT=./proto
JAVA_OUTPUT=./java/src/main/java/
protoc -I=${PROTO_ROOT} --java_out=${JAVA_OUTPUT} $(find ./proto/ -type f -iname "*.proto")
protoc -I=${PROTO_ROOT} -I /opt/include --java_out=${JAVA_OUTPUT} $(find ./proto/ -type f -iname "*.proto")