diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/Makefile | 2 | ||||
-rwxr-xr-x | bin/minify | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile index e59851b..a06562e 100644 --- a/bin/Makefile +++ b/bin/Makefile @@ -1,4 +1,4 @@ -SH_FILES= +SH_FILES=minify all: check fmt .PHONY: all 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 |