From 734bf013852555bbed991c6f93053f3d0ecc2fc0 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Fri, 17 Aug 2018 22:05:06 -0500 Subject: [PATCH] MAINT: Improved wording in our build messages. --- src/main.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index af48233..9b103a1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -90,10 +90,11 @@ fn build_file( } fn do_validate(file: &str, cache: Rc>) -> bool { + println!("Validating {}", file); match build_file(file, true, cache) { - Ok(_) => println!("File {} validates", file), + Ok(_) => println!("{} validates\n\n", file), Err(msg) => { - eprintln!("Err 2: {}", msg); + eprintln!("Err: {}", msg); return false; } } @@ -112,7 +113,7 @@ fn do_compile(file: &str, cache: Rc>) -> bool { let (typ, val) = match builder.out_lock { Some((ref typ, ref val)) => (typ, val.clone()), None => { - eprintln!("Build results in no value."); + eprintln!("Build results in no artifacts."); return false; } };