From 916168555462bda8c0659717f1e0897a29e4c8b4 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sun, 12 Jun 2022 23:49:18 -0400 Subject: Makefile: add `vet` --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d1b3232..29e5762 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ MOD=ricketyspace.net/peach PKGS=${MOD}/cache ${MOD}/client ${MOD}/nws ${MOD}/photon CSS=static/peach.min.css -peach: fix fmt ${CSS} +peach: vet fix fmt ${CSS} go build ${BUILD_OPTS} fmt: @@ -16,6 +16,10 @@ fix: go fix ${MOD} ${PKGS} .PHONY: fix +vet: + go vet ${MOD} ${PKGS} +.PHONY: vet + test: go test ${PKGS} ${ARGS} .PHONY: test -- cgit v1.2.3