From 4e6e83795a9402926f391992f4406f69a86d3d75 Mon Sep 17 00:00:00 2001 From: lorsan Date: Wed, 15 Apr 2026 18:17:07 +0300 Subject: [PATCH] feat: add scripts generate proto --- scripts/gen_proto.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/gen_proto.sh diff --git a/scripts/gen_proto.sh b/scripts/gen_proto.sh new file mode 100755 index 0000000..9776632 --- /dev/null +++ b/scripts/gen_proto.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +protoc \ + -I api/proto \ + --go_out=api/gen --go_opt=paths=source_relative \ + --go-grpc_out=api/gen --go-grpc_opt=paths=source_relative \ + api/proto/homeops/*.proto \ No newline at end of file