mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-17 08:44:20 +01:00
android: improve make commands
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
11
Makefile
11
Makefile
@@ -12,10 +12,19 @@ tags: fake
|
|||||||
jni: fake
|
jni: fake
|
||||||
cargo ndk --target arm64-v8a -o $(ANDROID_DIR)/app/src/main/jniLibs/ build --profile release
|
cargo ndk --target arm64-v8a -o $(ANDROID_DIR)/app/src/main/jniLibs/ build --profile release
|
||||||
|
|
||||||
|
jni-check: fake
|
||||||
|
cargo ndk --target arm64-v8a -o $(ANDROID_DIR)/app/src/main/jniLibs/ check --profile release
|
||||||
|
|
||||||
apk: jni
|
apk: jni
|
||||||
cd $(ANDROID_DIR) && ./gradlew build
|
cd $(ANDROID_DIR) && ./gradlew build
|
||||||
|
|
||||||
|
gradle:
|
||||||
|
cd $(ANDROID_DIR) && ./gradlew build
|
||||||
|
|
||||||
|
push-android-config:
|
||||||
|
adb push android-config.json /sdcard/Android/data/com.damus.notedeck/files/android-config.json
|
||||||
|
|
||||||
android: jni
|
android: jni
|
||||||
cd $(ANDROID_DIR) && ./gradlew installDebug
|
cd $(ANDROID_DIR) && ./gradlew installDebug
|
||||||
adb shell am start -n com.damus.notedeck/.MainActivity
|
adb shell am start -n com.damus.notedeck/.MainActivity
|
||||||
adb logcat -v color | tee logcat.txt
|
adb logcat -v color -s RustStdoutStderr | tee logcat.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user