43 lines
660 B
Makefile
43 lines
660 B
Makefile
devapk:
|
|
make -C sbapp devapk
|
|
|
|
apk:
|
|
make -C sbapp apk
|
|
mkdir -p ./dist
|
|
|
|
fetchapk:
|
|
cp ./sbapp/bin/sideband-*-release.apk ./dist/
|
|
|
|
install:
|
|
make -C sbapp install
|
|
|
|
console:
|
|
make -C sbapp console
|
|
|
|
clean:
|
|
@echo Cleaning...
|
|
-rm -r ./build
|
|
-rm -r ./dist
|
|
|
|
cleanbuildozer:
|
|
make -C sbapp cleanall
|
|
|
|
cleanall: clean cleanbuildozer
|
|
|
|
preparewheel:
|
|
pyclean .
|
|
$(MAKE) -C sbapp cleanrns
|
|
|
|
build_wheel:
|
|
python3 setup.py sdist bdist_wheel
|
|
|
|
build_win_exe:
|
|
python -m PyInstaller sideband.spec --noconfirm
|
|
|
|
release: build_wheel apk fetchapk
|
|
|
|
upload:
|
|
@echo Ready to publish release, hit enter to continue
|
|
@read VOID
|
|
@echo Uploading to PyPi...
|
|
twine upload dist/sbapp-*
|