From dacc05a41b77bf2e86e27ac354db9b047c661a7d Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 28 Dec 2021 14:57:41 +0100 Subject: refactor workspace code --- planetwars-cli/src/commands/init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'planetwars-cli/src/commands/init.rs') diff --git a/planetwars-cli/src/commands/init.rs b/planetwars-cli/src/commands/init.rs index 3c9cf08..c95626b 100644 --- a/planetwars-cli/src/commands/init.rs +++ b/planetwars-cli/src/commands/init.rs @@ -31,8 +31,8 @@ impl InitCommand { // create files copy_asset!(path, "pw_workspace.toml"); copy_asset!(path.join("maps"), "hex.json"); - copy_asset!(path.join("bots/simplebot"), "simplebot.py"); - + copy_asset!(path.join("bots/"), "simplebot/botconfig.toml"); + copy_asset!(path.join("bots/"), "simplebot/simplebot.py"); Ok(()) } } -- cgit v1.2.3