summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 350c71e..fdcffe0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-all:
+all: goimports vet
+
+vet:
GO111MODULE=off go vet
goimports:
@@ -10,3 +12,6 @@ redomod:
GO111MODULE= go mod init
GO111MODULE= go mod tidy
+clean:
+ -rm -f go.*
+ -go-mod-clean --purge