Create attractive VASL scenarios, with loads of useful information embedded to assist with game play. https://vasl-templates.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
vasl-templates/vasl_templates/webapp/tests/compile-proto.sh

17 lines
502 B

cd `dirname "$0"`/proto
# initialize
rm -rf generated 2>/dev/null
mkdir generated
# compile the protobuf definitions
python -m grpc_tools.protoc \
--proto_path . \
--python_out=generated/ \
--grpc_python_out=generated/ \
control_tests.proto
# FUDGE! Fix a bogus import :-/
sed --in-place \
's/^import control_tests_pb2 as control__tests__pb2$/import vasl_templates.webapp.tests.proto.generated.control_tests_pb2 as control__tests__pb2/' \
generated/control_tests_pb2_grpc.py