summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-05 23:05:26 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-05 23:05:26 -0400
commit0ddce8ee77450a2da24a26828624c58087b20a43 (patch)
tree1dd321ba4b82385e9172ac3bc43da67ea82757eb /Makefile
parentf7e6dd9b86e861a3481af6df725c697daee104df (diff)
Makefile: add CSS target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 185453a..f82cc30 100644
--- a/Makefile
+++ b/Makefile
@@ -3,8 +3,9 @@
MOD=ricketyspace.net/peach
PKGS=${MOD}/client ${MOD}/nws ${MOD}/photon
+CSS=static/peach.min.css
-peach: fix fmt
+peach: fix fmt ${CSS}
go build ${BUILD_OPTS}
fmt:
@@ -19,6 +20,9 @@ test:
go test ${PKGS} ${ARGS}
.PHONY: test
+${CSS}: static/peach.css
+ ./bin/minify
+
clean:
go clean
.PHONY: clean