diff options
| author | terminaldweller <thabogre@gmail.com> | 2021-11-20 17:21:43 +0000 | 
|---|---|---|
| committer | terminaldweller <thabogre@gmail.com> | 2021-11-20 17:21:43 +0000 | 
| commit | 2f7e632a3d876a8721bcfbeeb4624a338df46eb8 (patch) | |
| tree | 73cc6fa053158439107866a991c2675e1ee35c4b /telebot/makefile | |
| parent | fix (diff) | |
| download | grpc-2f7e632a3d876a8721bcfbeeb4624a338df46eb8.tar.gz grpc-2f7e632a3d876a8721bcfbeeb4624a338df46eb8.zip | |
Diffstat (limited to 'telebot/makefile')
| -rw-r--r-- | telebot/makefile | 4 | 
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 | 
