summaryrefslogtreecommitdiffstats
path: root/bin/minify
diff options
context:
space:
mode:
Diffstat (limited to 'bin/minify')
-rwxr-xr-xbin/minify6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/minify b/bin/minify
new file mode 100755
index 0000000..911c166
--- /dev/null
+++ b/bin/minify
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+#
+# SPDX-License-Identifier: ISC
+# Copyright © 2022 siddharth ravikumar <s@ricketyspace.net>
+
+awk '{ gsub("^ *", ""); gsub(" {", "{"); printf "%s", $0 }' static/peach.css >static/peach.min.css