mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 13:30:36 +01:00
41 lines
599 B
Makefile
41 lines
599 B
Makefile
all: prepare debug
|
|
|
|
prepare: activate cleanrns getrns
|
|
|
|
clean:
|
|
-(rm ./__pycache__ -r)
|
|
-(rm ./app_storage -r)
|
|
-(rm ./bin -r)
|
|
|
|
cleanlibs:
|
|
buildozer android clean
|
|
|
|
cleanall: clean cleanlibs
|
|
|
|
activate:
|
|
(. venv/bin/activate)
|
|
|
|
debug:
|
|
buildozer android debug
|
|
|
|
release:
|
|
buildozer android release
|
|
|
|
postbuild: cleanrns
|
|
|
|
apk: prepare release postbuild
|
|
|
|
devapk: prepare debug postbuild
|
|
|
|
install:
|
|
adb install bin/sideband-0.1.6-arm64-v8a-release.apk
|
|
|
|
console:
|
|
(adb logcat | grep python)
|
|
|
|
getrns:
|
|
(cp -rv ../../Reticulum/RNS ./;rm ./RNS/Utilities/RNS;rm ./RNS/__pycache__ -r)
|
|
|
|
cleanrns:
|
|
-(rm ./RNS -r)
|