Update README.md

This commit is contained in:
Flux 2025-01-11 12:31:19 +02:00 committed by GitHub
parent a6caf1143c
commit 248a98a89a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,4 +1,4 @@
### README for `compile_rust_for_flutter.sh` ### README for `rust_to_flutter.sh`
This script compiles a Rust library for both Android and iOS and copies the generated libraries to the appropriate Flutter project directories. This script compiles a Rust library for both Android and iOS and copies the generated libraries to the appropriate Flutter project directories.
@ -16,12 +16,12 @@ This script compiles a Rust library for both Android and iOS and copies the gene
2. Run the script: 2. Run the script:
```bash ```bash
./compile_rust_for_flutter.sh <path_to_rust_project> <path_to_flutter_project> ./rust_to_flutter.sh <path_to_rust_project> <path_to_flutter_project>
``` ```
#### Example: #### Example:
```bash ```bash
./compile_rust_for_flutter.sh ./rust_project ./flutter_project ./rust_to_flutter.sh ./rust_project ./flutter_project
``` ```
#### Notes: #### Notes: