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 -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")