Desdaemon / flutter_rust_bridge_template

Template for Flutter + Rust integration with flutter_rust_bridge.
https://desdaemon.github.io/flutter_rust_bridge_template/
Apache License 2.0
119 stars 63 forks source link

The new "justfile" not workable on windows 10 #8

Closed dbsxdbsx closed 2 years ago

dbsxdbsx commented 2 years ago

I using win10 and gitbash as shell. It outputs like this:

export REPO_DIR="$PWD"
?[1mcd / ; flutter_rust_bridge_codegen  --rust-input "$REPO_DIR/native/src/api.rs" --dart-output "$REPO_DIR/lib/bridge_generated.dart" --c-output "$REPO_DIR/ios/Runner/bridge_generated.h"?[0m
/usr/bin/sh: REPO_DIR: unbound variable
?[1;31merror?[0m: ?[1mRecipe `gen` failed on line 16 with exit code 127?[0m

But if using the older one , it is at least no error when generating code.