diff options
| author | Jeff Carr <[email protected]> | 2025-03-29 09:43:24 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-29 09:43:24 -0500 |
| commit | 0a97886cd2e942070ac478b2802f49dca8249f36 (patch) | |
| tree | d76ea1d019b3a57faac3454ba6a7e9e80a3a3526 /example | |
| parent | de7d698e194c69df2a884a62fe606d28b1ff7b71 (diff) | |
fix --debug
Diffstat (limited to 'example')
| -rw-r--r-- | example/Makefile | 2 | ||||
| -rw-r--r-- | example/fruit.proto | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/example/Makefile b/example/Makefile index 06b3cdb..1ddb086 100644 --- a/example/Makefile +++ b/example/Makefile @@ -110,7 +110,7 @@ proto-reformat-comments: ../autogenpb --proto signal.proto --format-comments proto-reformat-full: - ../autogenpb --proto signal.proto --format + ../autogenpb --proto signal.proto --format --debug proto-reformat-fruit: ../autogenpb --proto fruit.proto --format diff --git a/example/fruit.proto b/example/fruit.proto index 362c59b..3924026 100644 --- a/example/fruit.proto +++ b/example/fruit.proto @@ -54,7 +54,6 @@ message Basket { // `autogenpb:nomutex` repeated Pear pears = 5; repeated Apple stacks = 6; } - // "Fruit" must exist. you can put anything in it message Fruit { string brand = 1; // `autogenpb:unique` `autogenpb:sort` @@ -67,7 +66,6 @@ message Fruit { repeated Basket gifts = 8; int64 price = 9; // `autogenpb:sort` } - // "Fruits" MUST EXIST and start exactly this way // It must be "Fruit" + 's' and must match the name of this file: "fruit.proto" message Fruits { // `autogenpb:marshal` `autogenpb:mutex` `autogenpb:gui` @@ -77,3 +75,4 @@ message Fruits { // `autogenpb:marshal` ` int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above map<string, string> junk = 5; } +// footer was empty |
