added indicator for type of build
This commit is contained in:
@@ -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")
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user