aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'telebot/makefile')
-rw-r--r--telebot/makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/telebot/makefile b/telebot/makefile
index 70c353b..b919633 100644
--- a/telebot/makefile
+++ b/telebot/makefile
@@ -8,7 +8,9 @@ DEFAULT: default
default: $(ARTIFACT_LIST)
$(SRC_DIR)/%.pb.go:$(SRC_DIR)/%.proto
- protoc --proto_path=$(SRC_DIR) --go_out=$(DST_DIR) --go_opt=paths=source_relative $<
+ protoc --proto_path=$(SRC_DIR) \
+ --go_out=$(DST_DIR) --go_opt=paths=source_relative \
+ --go-grpc_out=$(DST_DIR) --go-grpc_opt=paths=source_relative $<
if [ -d go.mod ];then : else;go mod init github.com/terminaldweller/grpc/telebot/v1;fi
go mod tidy