can't use go:generate. boo. it requires go.mod and go.sum

This commit is contained in:
Jeff Carr 2025-01-11 06:08:05 -06:00
parent 48b19f1e70
commit 0ea93faef2
2 changed files with 2 additions and 7 deletions

View File

@ -8,8 +8,8 @@
all: forgeConfig.pb.go patchset.pb.go goimports vet
generate: clean
go-mod-clean
go generate
autogenpb --proto patchset.proto
autogenpb --proto forgeConfig.proto
vet:
@GO111MODULE=off go vet

View File

@ -1,10 +1,5 @@
package forgepb
// go.wit.com/apps/autogenpb auto generates Sort() and Marshal() for protobuf files
//go:generate autogenpb --proto forgeConfig.proto
//go:generate autogenpb --proto uuid.proto
//go:generate autogenpb --proto patch.proto
import (
"os"
"os/user"