diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-28 16:09:41 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-28 16:09:41 +0100 |
commit | 6d176ac99fb096034ff5406700a7921dab48c24f (patch) | |
tree | aa6b42fa91144367f4b34c5570e036b77b093c70 /planetwars-cli/src/workspace | |
parent | 51b52db78bed6585702e4bd761bb17018f5a0247 (diff) | |
download | planetwars.dev-6d176ac99fb096034ff5406700a7921dab48c24f.tar.xz planetwars.dev-6d176ac99fb096034ff5406700a7921dab48c24f.zip |
show relative path to match log
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)] |