mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-19 02:31:09 +00:00
11 lines
437 B
Bash
11 lines
437 B
Bash
#!/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.
|