diff options
Diffstat (limited to 'planetwars-cli/src/workspace')
-rw-r--r-- | planetwars-cli/src/workspace/bot.rs | 1 | ||||
-rw-r--r-- | planetwars-cli/src/workspace/mod.rs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/planetwars-cli/src/workspace/bot.rs b/planetwars-cli/src/workspace/bot.rs index 3cd4f87..cc88076 100644 --- a/planetwars-cli/src/workspace/bot.rs +++ b/planetwars-cli/src/workspace/bot.rs @@ -29,6 +29,7 @@ impl WorkspaceBot { pub struct BotConfig { pub name: String, pub run_command: String, + pub build_command: Option<String>, } impl BotConfig { diff --git a/planetwars-cli/src/workspace/mod.rs b/planetwars-cli/src/workspace/mod.rs index 64777c2..5a1a4ae 100644 --- a/planetwars-cli/src/workspace/mod.rs +++ b/planetwars-cli/src/workspace/mod.rs @@ -12,8 +12,8 @@ const WORKSPACE_CONFIG_FILENAME: &str = "pw_workspace.toml"; pub mod bot; pub struct Workspace { - root_path: PathBuf, - config: WorkspaceConfig, + pub root_path: PathBuf, + pub config: WorkspaceConfig, } #[derive(Serialize, Deserialize, Debug)] |