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 e4713b7..f85574a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,12 @@ all:
@echo "Run: make redomod # to remake the go files"
@echo
+redo: clean proto goimports vet
+
+vet:
+ @GO111MODULE=off go vet
+ @echo this go plugin package builds okay
+
redomod: goimports
rm -f go.*
GO111MODULE= go mod init
@@ -10,3 +16,9 @@ redomod: goimports
goimports:
goimports -w *.go
+
+proto:
+ autogenpb --proto widget.proto
+
+clean:
+ rm -f go.* *.pb.go