blob: 936e322ad49e190f6f78987882c2520b03185a3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2025 WIT.COM Inc Licensed GPL 3.0
package forgepb
// NOTE: it would be helpful if go.mod doesn't exist, that go generate
// would automatically run go mod init and go mod tidy
// This would allow directives like 'go install go.wit.com/apps/autogenpb'
// Then this process could be fully automated
//
//go:generate make go-generate
//go:generate autogenpb --proto forgeConfig.proto
//go:generate autogenpb --proto patch.proto
//go:generate autogenpb --proto set.proto
// # go:generate go get golang.org/x/tools # repo seems broken at this time (?)
// # go:generate go install -v golang.org/x/tools/cmd/goimports
//go:generate bash -c "goimports -w *.go"
|