From ee5af8d07625bfc7ad11b842b3941bb095aa6a6e Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 28 Dec 2021 19:28:19 +0100 Subject: implement build command --- planetwars-cli/src/commands/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'planetwars-cli/src/commands/mod.rs') diff --git a/planetwars-cli/src/commands/mod.rs b/planetwars-cli/src/commands/mod.rs index db0be21..52fed5c 100644 --- a/planetwars-cli/src/commands/mod.rs +++ b/planetwars-cli/src/commands/mod.rs @@ -1,3 +1,4 @@ +mod build; mod init; mod run_match; mod serve; @@ -21,6 +22,7 @@ impl Cli { Command::Init(command) => command.run().await, Command::RunMatch(command) => command.run().await, Command::Serve(command) => command.run().await, + Command::Build(command) => command.run().await, } } } @@ -33,4 +35,6 @@ enum Command { RunMatch(run_match::RunMatchCommand), /// Host local webserver Serve(serve::ServeCommand), + /// Run build command for a bot + Build(build::BuildCommand), } -- cgit v1.2.3