summaryrefslogtreecommitdiff
path: root/compress.sh
diff options
context:
space:
mode:
authorConnor Frank <conjfrnk@gmail.com>2024-04-16 00:41:25 +0000
committerConnor Frank <conjfrnk@gmail.com>2024-04-16 00:41:25 +0000
commitff1a28201605d4bbdf6dee786806d90222b876b3 (patch)
tree69ea08c757e4420ecfea95a17981ce147e43905e /compress.sh
parent5be3d079d5de2c2408bba42f41caefd4e75045e3 (diff)
more optimiztion including compression
Diffstat (limited to 'compress.sh')
-rwxr-xr-xcompress.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/compress.sh b/compress.sh
new file mode 100755
index 0000000..c53fc78
--- /dev/null
+++ b/compress.sh
@@ -0,0 +1,5 @@
+#!/usr/local/bin/bash
+
+gzip -9fk style.css
+gzip -9fk *.html
+find assets/ -type f ! -name '*.png' -exec gzip -9fk "{}" \;