aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.sh b/build.sh
new file mode 100755
index 0000000..3d99607
--- /dev/null
+++ b/build.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+# Startdate: 2021-03-26
+# Goal: automate making the Chicago95 theme, for CI/CD.
+
+TOPDIR="$( dirname "$( readlink -f "${0}" )" )" # for bgstack15, /mnt/public/work/vm2/icons/git
+IMAGES_ZIP_SDIR="${TOPDIR}"/iconsets/c95
+EXT_ZIP_SDIR="${TOPDIR}"/Chicago95-theme
+OUTDIR="${TOPDIR}"
+
+# PROCESS
+rm -f "${OUTDIR}/images_chicago95.zip"
+cd "${IMAGES_ZIP_SDIR}" ; 7za a "${OUTDIR}/images_chicago95.zip" *
+mv -f "${OUTDIR}/images_chicago95.zip" "${EXT_ZIP_SDIR}/iconsets/"
+rm -f "${OUTDIR}/Chicago95-theme-0.0.oxt"
+cd "${EXT_ZIP_SDIR}" ; 7za a "${OUTDIR}/Chicago95-theme-0.0.oxt"
bgstack15