mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-05-19 12:14:14 +00:00
Fix protoc param paths
This commit is contained in:
parent
196b55bf29
commit
5713c06c49
@ -10,7 +10,11 @@
|
|||||||
# python -m pip install grpcio grpcio-tools
|
# python -m pip install grpcio grpcio-tools
|
||||||
# pip3 install mypy-protobuf
|
# pip3 install mypy-protobuf
|
||||||
|
|
||||||
source "env.sh"
|
# Relative path to directory containing the Bisq .proto files (the protoc compiler input).
|
||||||
|
export PROTO_PATH="proto"
|
||||||
|
|
||||||
|
# The destination directory for the generated Python code (he protoc compiler output).
|
||||||
|
export PYTHON_PROTO_OUT_PATH="bisq/api"
|
||||||
|
|
||||||
python3 -m grpc_tools.protoc \
|
python3 -m grpc_tools.protoc \
|
||||||
--proto_path=$PROTO_PATH \
|
--proto_path=$PROTO_PATH \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user