SimpleCloudNotifier/flutter/Makefile

39 lines
683 B
Makefile
Raw Normal View History

2024-05-25 18:09:39 +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:
flutter pub run build_runner build
_JAVA_OPTIONS="" flutter run
2024-05-25 18:09:39 +02:00
run-android:
ping -c1 10.10.10.177
adb connect 10.10.10.177:5555
flutter pub run build_runner build
_JAVA_OPTIONS="" flutter run -d 10.10.10.177:5555
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:
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:
flutter pub run flutter_launcher_icons -f "flutter_launcher_icons.yaml"
clean:
cd android && ./gradlew clean
flutter clean