Replace dependency on protoc with grpcio-tools
This change removes the dependency on platform provided protobuf tools in favour of `grpcio-tools` dependency. This makes both development and compiler use independent from platform dependencies.
This commit is contained in:
committed by
Bouke Versteegh
parent
b2651335ce
commit
03211604bc
2
Makefile
2
Makefile
@@ -31,7 +31,7 @@ clean: ## - Clean out generated files from the workspace
|
||||
o=output
|
||||
plugin: ## - Execute the protoc plugin, with output write to `output` or the value passed to `-o`
|
||||
mkdir -p $(o)
|
||||
protoc --plugin=protoc-gen-custom=betterproto/plugin.py $(i) --custom_out=$(o)
|
||||
poetry run python -m grpc.tools.protoc $(i) --python_betterproto_out=$(o)
|
||||
|
||||
# CI tasks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user