Refactor project source parsing

There was already a 'parse_sources' function, and 'parse' was actually more about typechecking than parsing.
This commit is contained in:
KtorZ
2022-12-16 22:33:26 +01:00
parent b323c95241
commit 536c9457b3
3 changed files with 27 additions and 20 deletions

View File

@@ -68,7 +68,7 @@ impl telemetry::EventListener for Terminal {
root.to_str().unwrap_or("").bright_blue()
);
}
telemetry::Event::GeneratingDocumentation {
telemetry::Event::BuildingDocumentation {
name,
version,
root,
@@ -94,6 +94,13 @@ impl telemetry::EventListener for Terminal {
output_path.to_str().unwrap_or("").bright_blue()
);
}
telemetry::Event::GeneratingDocFiles { output_path } => {
println!(
"{} in {}",
"...Generating documentation files".bold().purple(),
output_path.to_str().unwrap_or("").bright_blue()
);
}
telemetry::Event::EvaluatingFunction { results } => {
println!("{}\n", "...Evaluating function".bold().purple());