From 5826c8ce131c4b038c94590734ed12e6dc3d0680 Mon Sep 17 00:00:00 2001 From: Qrius Date: Thu, 26 Sep 2024 00:11:05 +0200 Subject: Slightly improve stdout messages --- src/skaldpress/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/skaldpress/main.rs b/src/skaldpress/main.rs index 1ad95f9..81fef9f 100644 --- a/src/skaldpress/main.rs +++ b/src/skaldpress/main.rs @@ -111,6 +111,7 @@ fn compile_file_and_write(source_file_path: &Path) -> Result<(), Box Writing {:#?} to {:#?}", source_file_path, dest_file_path); fs::write(&dest_file_path, cfile.content)?; Ok(()) } @@ -140,7 +141,7 @@ fn compile_files_in_directory(directory: &Path) -> Result<(), SkaldpressError> { }; if metadata.is_file() { - println!("Compiling {:#?}", path.as_path()); + println!("< Compiling {:#?}", path.as_path()); if let Err(e) = compile_file_and_write(path.as_path()) { println!( "\x1b[31mError compiling {:#?}: {}\x1b[0m", -- cgit v1.2.3