diff options
author | siddharth ravikumar <s@ricketyspace.net> | 2022-11-27 11:43:48 -0500 |
---|---|---|
committer | siddharth ravikumar <s@ricketyspace.net> | 2022-11-27 11:43:48 -0500 |
commit | 937f11b380ae0b8b73a7bb1a914b85cc8ea026e5 (patch) | |
tree | 305fcc203ef6b90c5ad1fcb3bfafdd6e6ce76f32 /Makefile | |
parent | 94919c9b1c6b1aff4e0a0aa14db987031bac5530 (diff) |
Makefile: add `vet`
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |