summaryrefslogtreecommitdiff
path: root/forgeConfig.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-02 03:03:45 -0600
committerJeff Carr <[email protected]>2025-03-02 03:03:45 -0600
commit9d5bae8a14d88c44cd191ed73a5c2db7543e7eec (patch)
tree83663e753db1c1b1e295add0c89a0cf4d4a81b42 /forgeConfig.proto
parentf540aab43407a50477c8b25af8ba125dcc5c6be6 (diff)
add a 'forge mode' concept
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
}