summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
parent6abbecf0bf0ca87b3d2049e9cfe33365d9c9dda4 (diff)
go generate
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c9403cc..3485f90 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,15 @@
all: forgeConfig.pb.go patch.pb.go set.pb.go goimports vet
generate: clean
- autogenpb --proto patchset.proto
+ go mod init
+ go mod tidy
+ go generate
+
+go-generate:
+ rm -f *.pb.go *.patch
+ go get go.wit.com/apps/autogenpb
+
+forgeConfig.pb.go: forgeConfig.proto
autogenpb --proto forgeConfig.proto
vet:
@@ -24,9 +32,6 @@ clean:
-rm -f go.*
go-mod-clean purge
-forgeConfig.pb.go: forgeConfig.proto
- autogenpb --proto forgeConfig.proto
-
# patchset.pb.go: patchset.proto
# autogenpb --proto patchset.proto