mirror of
https://github.com/markusfisch/BinaryEye.git
synced 2024-09-20 03:52:16 +02:00
4c6d66a4aa
Replace the ZXing Java implementation with the C++ fork. The C++ fork is faster, actively maintained and supports the MicroQR Code barcode format. The original Java implementation is in "Maintenance Mode Only", what means that no new features or barcodes will be accepted. Because the C++ fork is much faster, we can now drop RenderScript which has been deprecated by Google anyway. Also, this removes a lot of complications. RenderScript was never very robust.
57 lines
1.1 KiB
Makefile
57 lines
1.1 KiB
Makefile
PACKAGE = de.markusfisch.android.binaryeye
|
|
|
|
all: debug install start
|
|
|
|
debug:
|
|
./gradlew assembleDebug
|
|
|
|
release: lint
|
|
./gradlew assembleRelease
|
|
|
|
bundle: lint
|
|
./gradlew bundleRelease
|
|
|
|
lint:
|
|
./gradlew lintDebug
|
|
|
|
infer: clean
|
|
infer -- ./gradlew assembleDebug
|
|
|
|
test:
|
|
./gradlew test
|
|
|
|
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}'
|
|
|
|
install:
|
|
adb $(TARGET) install -r app/build/outputs/apk/debug/app-debug.apk
|
|
|
|
start:
|
|
adb $(TARGET) shell 'am start -n \
|
|
$(PACKAGE).debug/$(PACKAGE).activity.SplashActivity'
|
|
|
|
uninstall:
|
|
adb $(TARGET) uninstall $(PACKAGE).debug
|
|
|
|
meminfo:
|
|
adb shell dumpsys meminfo $(PACKAGE).debug
|
|
|
|
images:
|
|
svg/update.sh
|
|
|
|
avocado:
|
|
avocado $(shell fgrep -rl '<vector' app/src/main/res)
|
|
|
|
clean:
|
|
./gradlew clean
|