stack_wallet/lib/services/cashfusion/protobuf/build-proto-fusion.sh

12 lines
437 B
Bash
Raw Normal View History

2023-07-26 18:07:30 +00:00
#!/bin/bash
# This script will build the dart files based on fusion.proto. Navigate to the protobuf directory where the fusion.proto is and run this, then copy the needed files to lib.
# The path to your .proto file. Adjust this if necessary.
PROTO_FILE="fusion.proto"
# Run the protoc command.
protoc --dart_out=grpc:. $PROTO_FILE
# After this, You should manually copy any needed dart files that were generated to the lib folder.