diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | planetwars-cli/Cargo.toml (renamed from planetwars-localdev/Cargo.toml) | 2 | ||||
-rw-r--r-- | planetwars-cli/README.md (renamed from planetwars-localdev/README.md) | 0 | ||||
-rw-r--r-- | planetwars-cli/assets/hex.json (renamed from planetwars-localdev/assets/hex.json) | 0 | ||||
-rw-r--r-- | planetwars-cli/assets/pw_project.toml (renamed from planetwars-localdev/assets/pw_project.toml) | 0 | ||||
-rw-r--r-- | planetwars-cli/assets/simplebot.py (renamed from planetwars-localdev/assets/simplebot.py) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/bin/pwcli.rs | 6 | ||||
-rw-r--r-- | planetwars-cli/src/lib.rs (renamed from planetwars-localdev/src/lib.rs) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/match_runner/bot_runner.rs (renamed from planetwars-localdev/src/match_runner/bot_runner.rs) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/match_runner/match_context.rs (renamed from planetwars-localdev/src/match_runner/match_context.rs) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/match_runner/mod.rs (renamed from planetwars-localdev/src/match_runner/mod.rs) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/match_runner/pw_match.rs (renamed from planetwars-localdev/src/match_runner/pw_match.rs) | 0 | ||||
-rw-r--r-- | planetwars-cli/src/web/mod.rs (renamed from planetwars-localdev/src/web/mod.rs) | 0 | ||||
-rw-r--r-- | planetwars-localdev/src/bin/pwcli.rs | 6 |
14 files changed, 8 insertions, 8 deletions
@@ -2,5 +2,5 @@ members = [ "planetwars-rules", - "planetwars-localdev", + "planetwars-cli", ] diff --git a/planetwars-localdev/Cargo.toml b/planetwars-cli/Cargo.toml index 8595d14..977ce18 100644 --- a/planetwars-localdev/Cargo.toml +++ b/planetwars-cli/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "planetwars-localdev" +name = "planetwars-cli" version = "0.1.0" edition = "2021" diff --git a/planetwars-localdev/README.md b/planetwars-cli/README.md index 72572d2..72572d2 100644 --- a/planetwars-localdev/README.md +++ b/planetwars-cli/README.md diff --git a/planetwars-localdev/assets/hex.json b/planetwars-cli/assets/hex.json index 5ef4f31..5ef4f31 100644 --- a/planetwars-localdev/assets/hex.json +++ b/planetwars-cli/assets/hex.json diff --git a/planetwars-localdev/assets/pw_project.toml b/planetwars-cli/assets/pw_project.toml index 85a4ab6..85a4ab6 100644 --- a/planetwars-localdev/assets/pw_project.toml +++ b/planetwars-cli/assets/pw_project.toml diff --git a/planetwars-localdev/assets/simplebot.py b/planetwars-cli/assets/simplebot.py index b2a6b8f..b2a6b8f 100644 --- a/planetwars-localdev/assets/simplebot.py +++ b/planetwars-cli/assets/simplebot.py diff --git a/planetwars-cli/src/bin/pwcli.rs b/planetwars-cli/src/bin/pwcli.rs new file mode 100644 index 0000000..438d3bc --- /dev/null +++ b/planetwars-cli/src/bin/pwcli.rs @@ -0,0 +1,6 @@ +use planetwars_cli; + +#[tokio::main] +async fn main() { + planetwars_cli::run().await +} diff --git a/planetwars-localdev/src/lib.rs b/planetwars-cli/src/lib.rs index 7eea75a..7eea75a 100644 --- a/planetwars-localdev/src/lib.rs +++ b/planetwars-cli/src/lib.rs diff --git a/planetwars-localdev/src/match_runner/bot_runner.rs b/planetwars-cli/src/match_runner/bot_runner.rs index 290df07..290df07 100644 --- a/planetwars-localdev/src/match_runner/bot_runner.rs +++ b/planetwars-cli/src/match_runner/bot_runner.rs diff --git a/planetwars-localdev/src/match_runner/match_context.rs b/planetwars-cli/src/match_runner/match_context.rs index 466da13..466da13 100644 --- a/planetwars-localdev/src/match_runner/match_context.rs +++ b/planetwars-cli/src/match_runner/match_context.rs diff --git a/planetwars-localdev/src/match_runner/mod.rs b/planetwars-cli/src/match_runner/mod.rs index 50b7a3b..50b7a3b 100644 --- a/planetwars-localdev/src/match_runner/mod.rs +++ b/planetwars-cli/src/match_runner/mod.rs diff --git a/planetwars-localdev/src/match_runner/pw_match.rs b/planetwars-cli/src/match_runner/pw_match.rs index 42bc9d2..42bc9d2 100644 --- a/planetwars-localdev/src/match_runner/pw_match.rs +++ b/planetwars-cli/src/match_runner/pw_match.rs diff --git a/planetwars-localdev/src/web/mod.rs b/planetwars-cli/src/web/mod.rs index cd94f5e..cd94f5e 100644 --- a/planetwars-localdev/src/web/mod.rs +++ b/planetwars-cli/src/web/mod.rs diff --git a/planetwars-localdev/src/bin/pwcli.rs b/planetwars-localdev/src/bin/pwcli.rs deleted file mode 100644 index c45bbfa..0000000 --- a/planetwars-localdev/src/bin/pwcli.rs +++ /dev/null @@ -1,6 +0,0 @@ -use planetwars_localdev; - -#[tokio::main] -async fn main() { - planetwars_localdev::run().await -} |