summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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