[#860] Makefile: use protoc-gen-go-grpc in protoc target

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-09-28 18:22:02 +03:00 committed by Leonard Lyubich
parent 6f35405dca
commit ea6bc8e892

View file

@ -71,7 +71,9 @@ protoc:
echo "⇒ Processing $$f "; \
protoc \
--proto_path=.:./vendor:/usr/local/include \
--go_out=plugins=grpc,paths=source_relative:. $$f; \
--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