added indicator for type of build

This commit is contained in:
2023-01-24 15:05:01 +01:00
parent 90f4ee21ef
commit 26781cd810

View File

@@ -31,9 +31,10 @@ impl Command for Build {
if path.starts_with("./docs/slides") { if path.starts_with("./docs/slides") {
if self.build_slide(&path).is_ok() { if self.build_slide(&path).is_ok() {
println!( println!(
"({} / {}) {} -> {}", "({} / {}) [{}] {} -> {}",
index, index,
paths.len(), paths.len(),
"slides",
path, path,
path.replace(".adoc", ".html") path.replace(".adoc", ".html")
); );
@@ -41,9 +42,10 @@ impl Command for Build {
} else { } else {
if self.build_doc(&path).is_ok() { if self.build_doc(&path).is_ok() {
println!( println!(
"({} / {}) {} -> {}", "({} / {}) [{}] {} -> {}",
index, index,
paths.len(), paths.len(),
"doc",
path, path,
path.replace(".adoc", ".html") path.replace(".adoc", ".html")
); );