summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ab46d8f..bc6bec7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,10 @@
-all: generate vet
+all: goimports vet
+
+# run this the first time here
+proto:clean autogenpb goimports vet
+
+autogenpb:
+ autogenpb --renumber --proto filetype.proto
generate: clean
go mod init