deployment: Display the resulting paths if the goal is to build only

Reference: #18
This commit is contained in:
Zhaofeng Li 2021-03-17 14:59:05 -07:00
parent 0047a0dc91
commit 81375e71b2

View file

@ -377,8 +377,12 @@ impl Deployment {
}
};
if goal != Goal::Build {
bar.success_quiet();
bar.success_quiet();
if goal == Goal::Build {
for (node, profile) in profiles.iter() {
let bar = progress.create_task_progress(node.to_string());
bar.success(&format!("Built {:?}", profile.as_path()));
}
}
drop(permit);