Added a build script for my own sanity

This commit is contained in:
Anton Hvornum 2020-07-10 08:46:00 +00:00
parent cc0f1210ad
commit 2e0295d501
2 changed files with 23 additions and 0 deletions

9
.gitignore vendored
View File

@ -7,3 +7,12 @@ SAFETY_LOCK
**/**dist
**/**.egg*
**/**.sh
**/**.egg-info/
**/**build/
**/**src/
**/**pkg/
**/**dist/
**/**archinstall.build/
**/**archinstall-v*/
**/**.pkg.*.xz
**/**archinstall-*.tar.gz

14
make.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
# Description: Crude build/maker script for PKGBUILD dependencies and stuff.
rm -rf archinstall.egg-info/ build/ src/ pkg/ dist/ archinstall.build/ archinstall-v2.0.3/ *.pkg.*.xz archinstall-*.tar.gz
python3 setup.py sdist bdist_wheel
nuitka3 --standalone --show-progress archinstall
mv archinstall.dist archinstall-v2.0.3
tar -czvf archinstall-v2.0.3.tar.gz archinstall-v2.0.3
makepkg -f
rm -rf archinstall.egg-info/ build/ dist/ src/ pkg/ archinstall.build/ archinstall-v2.0.3/ archinstall-*.tar.gz
echo 'python3 -m twine upload dist/*'