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 4255c53..3c6bbb6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# git remote add github [email protected]:wit-go/gui-debugger.git
-all: goimports vet
+all: auto.pb.go goimports vet
@echo common init code for common packages
goimports:
@@ -8,3 +8,11 @@ goimports:
vet:
@GO111MODULE=off go vet
+
+clean:
+ rm -f *.pb.go *.patch
+ -rm -f go.*
+ go-mod-clean purge
+
+auto.pb.go: auto.proto
+ autogenpb --proto auto.proto