summaryrefslogtreecommitdiff
path: root/forgeConfig.proto
diff options
context:
space:
mode:
Diffstat (limited to 'forgeConfig.proto')
-rw-r--r--forgeConfig.proto8
1 files changed, 8 insertions, 0 deletions
diff --git a/forgeConfig.proto b/forgeConfig.proto
index b57b627..78dd5c3 100644
--- a/forgeConfig.proto
+++ b/forgeConfig.proto
@@ -36,6 +36,13 @@ message ForgeConfig { // `autogenpb:nom
string goSrc = 13; // is ~/go/src unless a go.work file is found
}
+// todo: fix autogenpb to look for enum
+enum ForgeMode {
+ MASTER = 0; // "release mode"
+ DEVEL = 1; // "patch mode"
+ USER = 2; // "work mode"
+}
+
message ForgeConfigs { // `autogenpb:marshal` `autogenpb:nomutex`
string uuid = 1; // `autogenpb:uuid:1941cd4f-1cfd-4bf6-aa75-c2c391907e81`
string version = 2; // `autogenpb:version:v0.0.47`
@@ -44,4 +51,5 @@ message ForgeConfigs { // `autogenpb:mar
string xterm = 5; // what xterm the user wants as the default
repeated string xtermArgv = 6; // the argv line for xterm
string defaultGui = 7; // default GUI plugin to use
+ ForgeMode mode = 8; // what "mode" forge is in
}