From 6d176ac99fb096034ff5406700a7921dab48c24f Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 28 Dec 2021 16:09:41 +0100 Subject: show relative path to match log --- planetwars-cli/src/workspace/bot.rs | 1 + planetwars-cli/src/workspace/mod.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'planetwars-cli/src/workspace') 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, } 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)] -- cgit v1.2.3