From d58e1f07922756502c1a6b2827a805d6e14b2c3b Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Tue, 17 Mar 2020 22:28:38 -0700 Subject: [PATCH] Add logging when running rojo build --- src/cli/build.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/cli/build.rs b/src/cli/build.rs index fbbe4373..13db6681 100644 --- a/src/cli/build.rs +++ b/src/cli/build.rs @@ -111,5 +111,12 @@ fn write_model(tree: &RojoTree, options: &BuildCommand) -> Result<(), anyhow::Er file.flush()?; + let filename = options + .output + .file_name() + .and_then(|name| name.to_str()) + .unwrap_or(""); + log::info!("Built project to {}", filename); + Ok(()) }