Add logging when running rojo build

This commit is contained in:
Lucien Greathouse
2020-03-17 22:28:38 -07:00
parent 830c242751
commit d58e1f0792

View File

@@ -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("<invalid utf-8>");
log::info!("Built project to {}", filename);
Ok(())
}