summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'init.go')
-rw-r--r--init.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.go b/init.go
index 5e2cd8e..4caad03 100644
--- a/init.go
+++ b/init.go
@@ -1,4 +1,15 @@
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
+//
+// NOTE: it would be helpful if go.mod doesn't exist, that go generate
+// would automatically run go mod init and go mod tidy
+// and allow directives to 'go get go.wit.com/apps/autogenpb'
+// then this process could be fully automated
+//
+//go:generate make go-generate
+//go:generate go install -v go.wit.com/apps/autogenpb
+//go:generate autogenpb --proto forgeConfig.proto
+//go:generate autogenpb --proto patch.proto
+//go:generate autogenpb --proto set.proto
package forgepb