summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make.sh')
-rwxr-xr-xmake.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/make.sh b/make.sh
index 2af4d55..df53863 100755
--- a/make.sh
+++ b/make.sh
@@ -27,7 +27,7 @@ make_favicon() {
render_icon "${input}" 192 "${directory}/192x192.png"
render_icon "${input}" 256 "${directory}/256x256.png"
- output="${directory}/favicon.ico"
+ output="favicon.ico"
printf "combining renders in \"%s\" to \"%s\"\n" "${directory}" "${output}"
icotool -co "${output}" "${directory}/"*".png"
@@ -51,9 +51,12 @@ make_script() {
tsc --outFile "${output}" --target ES2022 "${input}"
}
-render_icon "svg/logo/achernarIcon.svg" 180 "apple-touch-icon.png"
+if [ "${1}" != "--skip-icons" ]
+then
+ render_icon "svg/logo/achernarIcon.svg" 180 "apple-touch-icon.png"
-make_favicon "svg/favicon.svg"
+ make_favicon "svg/favicon.svg"
+fi
make_stylesheet "font"
make_stylesheet "main"