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