From 937f11b380ae0b8b73a7bb1a914b85cc8ea026e5 Mon Sep 17 00:00:00 2001 From: siddharth ravikumar Date: Sun, 27 Nov 2022 11:43:48 -0500 Subject: Makefile: add `vet` --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f6f8784..36e62e5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ MOD=ricketyspace.net/cryptopals PKGS=${MOD} ${MOD}/challenge ${MOD}/lib -build: fmt +build: fmt vet go build .PHONY: build @@ -9,6 +9,10 @@ fmt: go fmt ${PKGS} .PHONY: fmt +vet: + go vet ./... +.PHONY: vet + test: go test ${ARGS} ${MOD}/lib .PHONY: test -- cgit v1.2.3