autogenpb formatting change
This commit is contained in:
parent
dbb8f23f18
commit
90ee9f6f63
2
Makefile
2
Makefile
|
@ -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
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue