aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-02 00:52:53 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-02 00:52:53 -0500
commit0304739eb4dd9e8dc60aff20245757824a663d55 (patch)
treed989644f323905d93311ea864e03488598c6d5cd /Makefile
parent2a359cb0b41ee76ef2aee61214a53a378d9d35c7 (diff)
downloadcvez-0304739eb4dd9e8dc60aff20245757824a663d55.tar.bz2
cvez-0304739eb4dd9e8dc60aff20245757824a663d55.zip
Makefile: add vet target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7ff8ea9..a1b1232 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,12 @@ test:
testjson:
go1.18beta1 test -json ./...
+vet:
+ go1.18beta1 vet ./...
+
+vetjson:
+ go1.18beta1 vet -json ./...
+
cov:
go1.18beta1 test -coverprofile=coverage.out ./... && \
go1.18beta1 tool cover -func=coverage.out