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