MAINT: Improved wording in our build messages.

This commit is contained in:
Jeremy Wall 2018-08-17 22:05:06 -05:00
parent ab2ac0c714
commit 734bf01385

View File

@ -90,10 +90,11 @@ fn build_file(
} }
fn do_validate(file: &str, cache: Rc<RefCell<Cache>>) -> bool { fn do_validate(file: &str, cache: Rc<RefCell<Cache>>) -> bool {
println!("Validating {}", file);
match build_file(file, true, cache) { match build_file(file, true, cache) {
Ok(_) => println!("File {} validates", file), Ok(_) => println!("{} validates\n\n", file),
Err(msg) => { Err(msg) => {
eprintln!("Err 2: {}", msg); eprintln!("Err: {}", msg);
return false; return false;
} }
} }
@ -112,7 +113,7 @@ fn do_compile(file: &str, cache: Rc<RefCell<Cache>>) -> bool {
let (typ, val) = match builder.out_lock { let (typ, val) = match builder.out_lock {
Some((ref typ, ref val)) => (typ, val.clone()), Some((ref typ, ref val)) => (typ, val.clone()),
None => { None => {
eprintln!("Build results in no value."); eprintln!("Build results in no artifacts.");
return false; return false;
} }
}; };