Sideband/sbapp/Makefile

44 lines
650 B
Makefile
Raw Normal View History

2022-07-07 16:16:10 -04:00
all: prepare debug
prepare: activate cleanrns getrns
clean:
-(rm ./__pycache__ -r)
-(rm ./app_storage -r)
-(rm ./bin -r)
2022-07-07 16:34:01 -04:00
cleanlibs:
buildozer android clean
2022-07-07 16:16:10 -04:00
2022-07-07 16:34:01 -04:00
cleanall: clean cleanlibs
2022-07-07 16:16:10 -04:00
activate:
(. venv/bin/activate)
debug:
buildozer android debug
release:
buildozer android release
2022-07-07 16:34:01 -04:00
postbuild: cleanrns
2022-07-07 16:16:10 -04:00
apk: prepare release postbuild
devapk: prepare debug postbuild
2022-07-08 07:53:04 -04:00
version:
@(echo $$(python ./gv.py))
2022-07-07 16:16:10 -04:00
install:
2022-07-08 07:53:04 -04:00
adb install bin/sideband-$$(python ./gv.py)-arm64-v8a-release.apk
2022-07-07 16:16:10 -04:00
console:
(adb logcat | grep python)
getrns:
(cp -rv ../../Reticulum/RNS ./;rm ./RNS/Utilities/RNS;rm ./RNS/__pycache__ -r)
cleanrns:
-(rm ./RNS -r)