aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index af99727..e0b94ff 100644
--- a/Makefile
+++ b/Makefile
@@ -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