ref: 67d3ac8d4a497a6b51d11b5848f964797fd098b8
parent: 8e6bb43568906262359ace3692983d8587641275
author: zamfofex <zamfofex@twdb.moe>
date: Tue Dec 31 09:06:04 EST 2024
fix minified build
--- a/.build.yml
+++ b/.build.yml
@@ -11,6 +11,7 @@
- libressl-dev
- curl
- cjson-dev
+- xz
tasks:
--- a/scripts/minify.sh
+++ b/scripts/minify.sh
@@ -30,7 +30,7 @@
grep -Eoh "'[^']*'"'|"[^"]*"|#.*|[a-zA-Z0-9_]+|[^a-zA-Z0-9_"'"'"' ]+' |
# remove spaces in '#include' lines
-sed '/^#/s/ //g' |
+sed -E '/^#/s/ //g' |
# put '#include' lines at the start
# (note: this materialises the file)
--
⑨