2017-08-27 15:03:22 +02:00
|
|
|
PACKAGE = de.markusfisch.android.binaryeye
|
|
|
|
|
|
|
|
all: debug install start
|
|
|
|
|
|
|
|
debug:
|
|
|
|
./gradlew assembleDebug
|
|
|
|
|
|
|
|
release: lint
|
2019-05-09 20:38:36 +02:00
|
|
|
./gradlew assembleRelease
|
|
|
|
|
|
|
|
bundle: lint
|
|
|
|
./gradlew bundleRelease
|
2017-08-27 15:03:22 +02:00
|
|
|
|
|
|
|
lint:
|
|
|
|
./gradlew lintDebug
|
|
|
|
|
|
|
|
infer: clean
|
|
|
|
infer -- ./gradlew assembleDebug
|
|
|
|
|
2018-05-29 21:00:26 +02:00
|
|
|
test:
|
2020-04-02 23:10:28 +02:00
|
|
|
./gradlew test
|
|
|
|
|
2021-11-12 23:54:19 +01:00
|
|
|
testview:
|
|
|
|
adb shell am start -W -a android.intent.action.VIEW -d 'binaryeye://scan'
|
|
|
|
|
|
|
|
testscan:
|
|
|
|
adb shell am start -a android.intent.action.VIEW \
|
|
|
|
-c android.intent.category.BROWSABLE \
|
|
|
|
-d 'binaryeye://scan/?ret=http%3A%2F%2Fmarkusfisch.de%2F%3Fresult%3D{RESULT}'
|
|
|
|
|
|
|
|
testurl:
|
|
|
|
adb shell am start -a android.intent.action.VIEW \
|
|
|
|
-c android.intent.category.BROWSABLE \
|
|
|
|
-d 'http://markusfisch.de/BinaryEye?ret=http%3A%2F%2Fmarkusfisch.de%2F%3Fresult%3D{RESULT}'
|
|
|
|
|
2023-11-15 22:07:50 +01:00
|
|
|
testxiaomi:
|
|
|
|
adb shell am start -a android.intent.action.VIEW \
|
|
|
|
-c android.intent.category.BROWSABLE \
|
|
|
|
-d 'market://details?id=com.xiaomi.scanner'
|
|
|
|
|
2017-08-27 15:03:22 +02:00
|
|
|
install:
|
2019-05-09 20:38:36 +02:00
|
|
|
adb $(TARGET) install -r app/build/outputs/apk/debug/app-debug.apk
|
2017-08-27 15:03:22 +02:00
|
|
|
|
|
|
|
start:
|
|
|
|
adb $(TARGET) shell 'am start -n \
|
|
|
|
$(PACKAGE).debug/$(PACKAGE).activity.SplashActivity'
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
adb $(TARGET) uninstall $(PACKAGE).debug
|
|
|
|
|
2020-05-15 13:38:51 +02:00
|
|
|
meminfo:
|
|
|
|
adb shell dumpsys meminfo $(PACKAGE).debug
|
|
|
|
|
2017-08-27 15:03:22 +02:00
|
|
|
images:
|
|
|
|
svg/update.sh
|
|
|
|
|
2020-04-20 21:02:57 +02:00
|
|
|
avocado:
|
|
|
|
avocado $(shell fgrep -rl '<vector' app/src/main/res)
|
|
|
|
|
2017-08-27 15:03:22 +02:00
|
|
|
clean:
|
|
|
|
./gradlew clean
|