diff options
| author | Jeff Carr <[email protected]> | 2025-03-29 11:55:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-29 11:55:54 -0500 |
| commit | 79e59bef1164b0c6ebeea9f040438d1b9caa1aaf (patch) | |
| tree | bbb6414d924a2b3e520da6d2b43331b3362cd1db /Makefile | |
| parent | 0a97886cd2e942070ac478b2802f49dca8249f36 (diff) | |
used autogenpb to reformat file.proto
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -46,7 +46,7 @@ build: cp -f autogenpb autogenpb.${BUILDTIME} bak: - cp -f autogenpb autogenpb.last + -cp -f autogenpb autogenpb.last redo-protobuf: rm -f *.pb.go @@ -63,9 +63,13 @@ proto: # # use the current autogenpb -proto-local: bak clean +proto-local-noformat: bak clean ./autogenpb.last --proto file.proto --package main --no-format +# use the current autogenpb +proto-local-format: bak clean + ./autogenpb.last --proto file.proto --package main + junk: cd example; rm -f go.* *.pb.go cd example; ../autogenpb --proto file.proto --package yellow |
