From 0ddce8ee77450a2da24a26828624c58087b20a43 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sun, 5 Jun 2022 23:05:26 -0400 Subject: Makefile: add CSS target --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3