Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 08:46:00 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-10 08:46:00 +0000
commit2e0295d50160c6ffb953bb15dbabbfeca0d72fe3 (patch)
treef1e45bcfa3d231f42f117d405d900900afffa1f9
parentcc0f1210ad0eefaa772a2c63effa5ff1c538e2a2 (diff)
Added a build script for my own sanity
-rw-r--r--.gitignore9
-rwxr-xr-xmake.sh14
2 files changed, 23 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 51a48ec6..7720fd5b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,12 @@ SAFETY_LOCK
**/**dist
**/**.egg*
**/**.sh
+**/**.egg-info/
+**/**build/
+**/**src/
+**/**pkg/
+**/**dist/
+**/**archinstall.build/
+**/**archinstall-v*/
+**/**.pkg.*.xz
+**/**archinstall-*.tar.gz
diff --git a/make.sh b/make.sh
new file mode 100755
index 00000000..92559930
--- /dev/null
+++ b/make.sh
@@ -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/*'