summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3552bc0..71c6826 100644
--- a/Makefile
+++ b/Makefile
@@ -17,3 +17,15 @@ run-openvpn:
check:
curl https://wtfismyip.com/json
+
+.PHONY: lint
+lint: go-fmt go-vet go-sec
+
+go-fmt:
+ gofmt -s -l .
+
+go-vet:
+ go vet ./...
+
+go-sec:
+ gosec ./...