Added a build script for my own sanity
This commit is contained in:
parent
cc0f1210ad
commit
2e0295d501
|
|
@ -7,3 +7,12 @@ SAFETY_LOCK
|
|||
**/**dist
|
||||
**/**.egg*
|
||||
**/**.sh
|
||||
**/**.egg-info/
|
||||
**/**build/
|
||||
**/**src/
|
||||
**/**pkg/
|
||||
**/**dist/
|
||||
**/**archinstall.build/
|
||||
**/**archinstall-v*/
|
||||
**/**.pkg.*.xz
|
||||
**/**archinstall-*.tar.gz
|
||||
|
|
|
|||
|
|
@ -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/*'
|
||||
Loading…
Reference in New Issue