2024-05-25 18:09:39 +02:00
|
|
|
|
|
|
|
|
2024-10-15 19:41:15 +02:00
|
|
|
# Setup
|
|
|
|
#
|
|
|
|
# flutter config --jdk-dir "/usr/lib/jvm/default-runtime/bin"
|
|
|
|
# sudo archlinux-java set java-17-openjdk
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-05-25 18:09:39 +02:00
|
|
|
run:
|
2024-06-15 15:56:50 +02:00
|
|
|
flutter pub run build_runner build
|
2024-10-15 19:41:15 +02:00
|
|
|
_JAVA_OPTIONS="" flutter run
|
2024-05-25 18:09:39 +02:00
|
|
|
|
2024-09-17 20:49:10 +02:00
|
|
|
run-android:
|
|
|
|
ping -c1 10.10.10.177
|
|
|
|
adb connect 10.10.10.177:5555
|
|
|
|
flutter pub run build_runner build
|
2024-10-15 19:41:15 +02:00
|
|
|
_JAVA_OPTIONS="" flutter run -d 10.10.10.177:5555
|
2024-09-17 20:49:10 +02:00
|
|
|
|
2024-05-25 21:36:05 +02:00
|
|
|
test:
|
|
|
|
dart analyze
|
2024-05-25 18:09:39 +02:00
|
|
|
|
2024-06-08 14:16:07 +02:00
|
|
|
fix:
|
|
|
|
dart fix --apply
|
|
|
|
|
2024-05-25 18:09:39 +02:00
|
|
|
gen:
|
2024-06-15 15:56:50 +02:00
|
|
|
flutter pub run build_runner build
|
2024-05-31 23:21:24 +02:00
|
|
|
|
|
|
|
autoreload:
|
|
|
|
@# run `make run` in another terminal (or another variant of flutter run)
|
2024-06-15 17:06:26 +02:00
|
|
|
@_utils/autoreload.sh
|
|
|
|
|
|
|
|
icons:
|
2024-10-15 19:41:15 +02:00
|
|
|
flutter pub run flutter_launcher_icons -f "flutter_launcher_icons.yaml"
|
|
|
|
|
|
|
|
clean:
|
|
|
|
cd android && ./gradlew clean
|
|
|
|
flutter clean
|