summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorsiddharth ravikumar <s@ricketyspace.net>2022-06-12 23:49:18 -0400
committersiddharth ravikumar <s@ricketyspace.net>2022-06-12 23:49:30 -0400
commit916168555462bda8c0659717f1e0897a29e4c8b4 (patch)
treed81f84431d9b34dff52945165b867074d8ae4287 /Makefile
parent5f58715db2c647f60a73838f68aa3b105b361602 (diff)
Makefile: add `vet`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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