forked from TrueCloudLab/frostfs-node
[#860] Makefile: use protoc-gen-go-grpc in protoc target
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
6f35405dca
commit
ea6bc8e892
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -71,7 +71,9 @@ protoc:
|
||||||
echo "⇒ Processing $$f "; \
|
echo "⇒ Processing $$f "; \
|
||||||
protoc \
|
protoc \
|
||||||
--proto_path=.:./vendor:/usr/local/include \
|
--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
|
done
|
||||||
rm -rf vendor
|
rm -rf vendor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue