SimpleCloudNotifier/flutter/Makefile

49 lines
914 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-10-19 22:33:08 +02:00
install-release:
# Install on Pixel 7a
flutter build apk --release
2024-10-20 03:22:39 +02:00
flutter run --release -d 35221JEHN07157
2024-10-19 22:33:08 +02:00
build-release:
flutter build apk --release
flutter build appbundle --release
flutter build linux --release
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