Files
exo/scripts/compile_grpc.sh
2024-11-12 23:20:55 -08:00

8 lines
224 B
Bash

#!/bin/bash
source ./install.sh
pushd exo/networking/grpc
python3.12 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. node_service.proto
sed -i "s/import node_service_pb2/from . &/" node_service_pb2_grpc.py
popd