diff options
-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 |