summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-01 07:42:53 -0600
committerJeff Carr <[email protected]>2025-02-01 07:42:53 -0600
commitf2a296064e6befbce4b584f24d474a8ade2c5215 (patch)
treef1e14a182b6eac5a9b6d4871be40adbbabb3658f /Makefile
parentf4b0273fc18af689c9fa06d35e24951a6590756a (diff)
start toying with a protobuf herev0.22.5
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