diff options
author | Paul Duncan <pabs@pablotron.org> | 2025-03-07 22:37:19 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2025-03-07 22:37:19 -0500 |
commit | 6a6a742ee2e2fe0570a6e21c51e1821db4910dd4 (patch) | |
tree | 7e9b2d4308ef9a918c5f0b791bfbdd78ee69cfdc | |
parent | 773c6a03738cd80ff76fe1c8ea82c0291e52d16d (diff) | |
download | jim-bot-6a6a742ee2e2fe0570a6e21c51e1821db4910dd4.tar.xz jim-bot-6a6a742ee2e2fe0570a6e21c51e1821db4910dd4.zip |
Makefile: add test and check targets
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,8 +1,15 @@ -@PHONY=all app +.PHONY=all test clean check all: go build -trimpath -ldflags='-s -w' +test: + go test ./... + +check: + go vet ./... + staticcheck ./... + clean: go clean |