Sideband/Makefile

40 lines
595 B
Makefile
Raw Normal View History

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