mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: Improved wording in our build messages.
This commit is contained in:
parent
ab2ac0c714
commit
734bf01385
@ -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;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user