d8ed7acddd
It will still OOM because the barcode scanner will fill up memomry with unprocessed codes, so need to turn the cam off to let it drain.
25 lines
428 B
Makefile
25 lines
428 B
Makefile
default: gen lint
|
|
|
|
gen:
|
|
flutter pub get
|
|
flutter_rust_bridge_codegen
|
|
|
|
lint:
|
|
dart format .
|
|
|
|
native: native-debug native-release
|
|
|
|
native-release:
|
|
cd android && ./gradlew :app:cargoBuildRelease
|
|
|
|
native-debug:
|
|
cd android && ./gradlew :app:cargoBuildDebug
|
|
|
|
clean:
|
|
flutter clean
|
|
cd native && cargo clean
|
|
|
|
serve *args='':
|
|
flutter pub run flutter_rust_bridge:serve {{args}}
|
|
|
|
# vim:expandtab:sw=4:ts=4
|