openCom-Companion/Makefile

40 lines
588 B
Makefile
Raw Normal View History

2022-07-07 22:16:10 +02:00
devapk:
2022-07-07 22:34:01 +02:00
make -C sbapp devapk
2022-04-07 21:03:53 +02:00
2022-07-07 22:16:10 +02:00
apk:
2022-07-07 22:34:01 +02:00
make -C sbapp apk
2022-07-07 22:38:45 +02:00
mkdir -p ./dist
2022-10-03 14:29:45 +02:00
fetchapk:
cp "./sbapp/bin/sideband-*-release.apk" ./dist/
2022-04-07 21:03:53 +02:00
install:
2022-07-07 22:34:01 +02:00
make -C sbapp install
2022-04-07 21:03:53 +02:00
console:
2022-07-07 22:34:01 +02:00
make -C sbapp console
2022-07-07 22:16:10 +02:00
clean:
2022-07-07 22:34:01 +02:00
@echo Cleaning...
-rm -r ./build
-rm -r ./dist
cleanbuildozer:
2022-10-03 13:21:33 +02:00
make -C sbapp cleanall
2022-07-07 22:34:01 +02:00
cleanall: clean cleanbuildozer
2022-07-07 22:16:10 +02:00
2022-10-03 12:54:35 +02:00
preparewheel:
pyclean .
$(MAKE) -C sbapp cleanrns
2022-07-07 22:16:10 +02:00
build_wheel:
2022-07-07 22:34:01 +02:00
python3 setup.py sdist bdist_wheel
2022-04-07 21:03:53 +02:00
2022-07-07 22:38:45 +02:00
release: build_wheel apk
upload:
2022-07-08 00:10:04 +02:00
@echo Ready to publish release, hit enter to continue
2022-07-13 19:16:18 +02:00
@read VOID
2022-07-07 22:38:45 +02:00
@echo Uploading to PyPi...
twine upload dist/sbapp-*