summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 16:33:49 -0500
committerJeff Carr <[email protected]>2025-10-07 16:33:49 -0500
commitd1358ace6c75eab761ee19897ee29496520af0fa (patch)
treebb6a3c8b699bef6141a8a286f52f34be9614790f /init.go
parent6abbecf0bf0ca87b3d2049e9cfe33365d9c9dda4 (diff)
go generate
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