summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-22 05:33:17 -0500
committerJeff Carr <[email protected]>2025-10-22 05:33:17 -0500
commitc60d46ea7a098a187a13ee78d2c3a6e7e77fe285 (patch)
tree25e934bbb584a8a2f532145998226baef42c02e9 /Makefile
parent2b6414a664fd7ccc519874f4d0b55a12a871307c (diff)
for after the next publishing
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 656758e..7f9db03 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,10 @@
all: goimports proto vet
@echo This GO code passes the compile checks
+proto-renumber:
+ autogenpb --renumber --proto argv.proto
+ make goimports vet
+
proto:
autogenpb --proto argv.proto
@@ -28,12 +32,3 @@ redomod:
goimports -w *.go
GO111MODULE= go mod init
GO111MODULE= go mod tidy
-
-
-# fixes your numbers if you move things around
-# THIS TOTALLY BREAKS THE POINT OF PROTOBUF
-# To work around that breaking, you must change the version
-# also, all the wrapping code must support this. which it doesn't
-proto-renumber: clean
- autogenpb --renumber --proto argv.proto
- make goimports vet