summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b1c7fb..6d403bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#a git remote add github [email protected]:wit-go/gadgets.git
-all:
+all: goimports vet
@echo
@echo gadgets are collections of widget primaties that work
@echo in ways that are common enough they are generally useful
@@ -14,6 +14,9 @@ all:
goimports:
goimports -w *.go
+vet:
+ @GO111MODULE=off go vet
+
redomod:
rm -f go.*
GO111MODULE= go mod init