aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2022-02-02 00:58:10 -0500
committerPaul Duncan <pabs@pablotron.org>2022-02-02 00:58:10 -0500
commit0489ed9272c1dcf93433896d9b382a369c265dd4 (patch)
tree1eebb9c0ffe01b7d22e270907542f44e6104d8c6 /Makefile
parent03b4422054d395de13b6a4fd9f6aa2a73bc08abc (diff)
downloadcvez-0489ed9272c1dcf93433896d9b382a369c265dd4.tar.bz2
cvez-0489ed9272c1dcf93433896d9b382a369c265dd4.zip
Makefile: update phony targets, add cover to test targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a1b1232..761ed14 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
-.PHONY=all test cov covhtml clean
+.PHONY=all test testjson vet vetjson cov covhtml clean
all:
go1.18beta1 build -ldflags='-s -w'
test:
- go1.18beta1 test ./...
+ go1.18beta1 test -cover ./...
testjson:
- go1.18beta1 test -json ./...
+ go1.18beta1 test -json -cover ./...
vet:
go1.18beta1 vet ./...