summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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