summaryrefslogtreecommitdiff
path: root/generate.go
diff options
context:
space:
mode:
Diffstat (limited to 'generate.go')
-rw-r--r--generate.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/generate.go b/generate.go
new file mode 100644
index 0000000..7b755cd
--- /dev/null
+++ b/generate.go
@@ -0,0 +1,13 @@
+package zoopb
+
+// 'make generate' will call this
+//
+// NOTE: it would be helpful if go.mod doesn't exist, that "go generate"
+// automatically run go mod init and go mod tidy
+// then this process could be fully automated
+//
+//go:generate make go-generate
+//go:generate go get go.wit.com/apps/autogenpb
+//go:generate go install -v go.wit.com/apps/autogenpb
+//go:generate autogenpb --proto machine.proto
+//go:generate autogenpb --proto package.proto