autogenpb formatting change

This commit is contained in:
Jeff Carr 2025-06-30 07:44:57 -05:00
parent dbb8f23f18
commit 90ee9f6f63
3 changed files with 4 additions and 6 deletions

View File

@ -22,7 +22,7 @@ goimports:
clean: clean:
rm -f *.pb.go *.patch rm -f *.pb.go *.patch
-rm -f go.* -rm -f go.*
go-mod-clean --purge go-mod-clean purge
forgeConfig.pb.go: forgeConfig.proto forgeConfig.pb.go: forgeConfig.proto
autogenpb --proto forgeConfig.proto autogenpb --proto forgeConfig.proto

View File

@ -37,9 +37,9 @@ message ForgeConfig { // `autogenpb:nom
string goSrc = 13; // is ~/go/src unless a go.work file is found string goSrc = 13; // is ~/go/src unless a go.work file is found
} }
enum ForgeMode { enum ForgeMode {
MASTER = 0; // "release mode" MASTER = 0; // "release mode"
DEVEL = 1; // "patch mode" DEVEL = 1; // "patch mode"
USER = 2; // "work mode" USER = 2; // "work mode"
} }
message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex` message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex`
@ -58,4 +58,3 @@ message Identify { // `autogenpb:mar
string uuid = 1; // string uuid = 1; //
string version = 2; // string version = 2; //
} }
// footer was empty

View File

@ -86,4 +86,3 @@ message Patchsets { // `autogenpb:mars
string version = 2; // `autogenpb:version:v0.0.45` string version = 2; // `autogenpb:version:v0.0.45`
repeated Patchset Patchsets = 3; repeated Patchset Patchsets = 3;
} }
// footer was empty