Sideband/Makefile

40 lines
595 B
Makefile
Raw Permalink Normal View History

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