summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 18:33:10 -0500
committerJeff Carr <[email protected]>2025-10-07 18:33:10 -0500
commit0f79b1c6fe6b61cd033a3182b8ce1fef59fa3ba6 (patch)
treeb8b982a1273ff924e647bfe29cfdf92af4f243c1 /Makefile
parent67fbce95b2a4f5c0b085e68ce36dc8d42d0f250c (diff)
add "make generate"v0.0.26v0.0.25
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c6bbb6..f27bc29 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,16 @@
# git remote add github [email protected]:wit-go/gui-debugger.git
-all: auto.pb.go goimports vet
+all: generate goimports vet
@echo common init code for common packages
+generate: clean
+ go mod init
+ go mod tidy
+ go generate
+
+go-generate:
+ rm -f *.pb.go *.patch
+
goimports:
goimports -w *.go