aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/makefile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-20 17:21:43 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-20 17:21:43 +0000
commit2f7e632a3d876a8721bcfbeeb4624a338df46eb8 (patch)
tree73cc6fa053158439107866a991c2675e1ee35c4b /telebot/makefile
parentfix (diff)
downloadgrpc-main.tar.gz
grpc-main.zip
added the grpc methodsHEADv1.0.3main
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