summaryrefslogtreecommitdiffstats
path: root/bin/minify
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-05 23:01:08 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-05 23:01:08 -0400
commitf7e6dd9b86e861a3481af6df725c697daee104df (patch)
treeddf5fb15c21524348e1bed70cafe869417acc31f /bin/minify
parenta324956d93190cf7c49be741facede8bc8a9f70d (diff)
bin: add minify
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