From 3c5c589e63ef4fbe7be73cf75d0fc24f9042c5f3 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Tue, 28 Sep 2021 18:10:48 +0300 Subject: [PATCH] [#176] Makefile: use protoc-gen-go-grpc in protoc target Signed-off-by: Leonard Lyubich --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c38de89..c8775ee 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,10 @@ protoc: @for f in `find . -type f -name '*.proto' -not -path './vendor/*'`; do \ echo "⇒ Processing $$f "; \ protoc \ - --proto_path=.:./vendor:./vendor/github.com/nspcc-dev/neofs-api:/usr/local/include \ - --go_out=plugins=grpc,paths=source_relative:. $$f; \ + --proto_path=.:./vendor:/usr/local/include \ + --go_out=. --go_opt=paths=source_relative \ + --go-grpc_opt=require_unimplemented_servers=false \ + --go-grpc_out=. --go-grpc_opt=paths=source_relative $$f; \ done rm -rf vendor