aboutsummaryrefslogtreecommitdiffstats
path: root/telebot/makefile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-11-12 12:40:09 +0000
committerterminaldweller <thabogre@gmail.com>2021-11-12 12:40:09 +0000
commitab24cd7559922036ffe522344b6866b9539df718 (patch)
tree382b8754ca5aa437f0b0dfa78578bc440d760f18 /telebot/makefile
parentupdates and fixes (diff)
downloadgrpc-1.0.1.tar.gz
grpc-1.0.1.zip
updates and fixesv1.0.1
Diffstat (limited to 'telebot/makefile')
-rw-r--r--telebot/makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/telebot/makefile b/telebot/makefile
index 9f91c59..70c353b 100644
--- a/telebot/makefile
+++ b/telebot/makefile
@@ -1,7 +1,7 @@
-DST_DIR?=./protobuf/v1
-SRC_DIR?=./protobuf/v1
-PROTOBUF_SRC_LIST:=$(shell find ./protobuf -name '*.proto' )
-ARTIFACT_LIST:=$(patsubst %.proto, %.pb.go, $(shell find ./protobuf -name '*.proto'))
+DST_DIR?=./v1
+SRC_DIR?=./v1
+PROTOBUF_SRC_LIST:=$(shell find ./v1 -name '*.proto' )
+ARTIFACT_LIST:=$(patsubst %.proto, %.pb.go, $(shell find ./v1 -name '*.proto'))
DEFAULT: default
@@ -9,7 +9,7 @@ default: $(ARTIFACT_LIST)
$(SRC_DIR)/%.pb.go:$(SRC_DIR)/%.proto
protoc --proto_path=$(SRC_DIR) --go_out=$(DST_DIR) --go_opt=paths=source_relative $<
- if [ -d go.mod ];then : else;go mod init github.com/terminaldweller/grpc/telebot/protobuf/v1;fi
+ if [ -d go.mod ];then : else;go mod init github.com/terminaldweller/grpc/telebot/v1;fi
go mod tidy
clean: