From 0489ed9272c1dcf93433896d9b382a369c265dd4 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Wed, 2 Feb 2022 00:58:10 -0500 Subject: Makefile: update phony targets, add cover to test targets --- Makefile | 6 +++--- 1 file 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 ./... -- cgit v1.2.3