summaryrefslogtreecommitdiffstats
path: root/src/executor.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-17 23:54:19 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-17 23:54:19 +0200
commit8caba7ca4632253ede6e5beb809e3de1b8bc97cb (patch)
treebd6a7894f3c528c0a17336f7a31eb286c74588bb /src/executor.rs
parent1b7db1ea7b57caf6502a80fc5d4f9d0127cc5971 (diff)
downloadrebel-8caba7ca4632253ede6e5beb809e3de1b8bc97cb.tar
rebel-8caba7ca4632253ede6e5beb809e3de1b8bc97cb.zip
executor: print more concise run summary
Diffstat (limited to 'src/executor.rs')
-rw-r--r--src/executor.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/executor.rs b/src/executor.rs
index bc13775..6d1b25c 100644
--- a/src/executor.rs
+++ b/src/executor.rs
@@ -243,8 +243,14 @@ impl<'a> Executor<'a> {
}
assert!(self.tasks_blocked.is_empty(), "No runnable tasks left");
+
+ println!("Summary");
for task in self.tasks_done.values() {
- println!("{}", serde_json::to_string_pretty(task)?);
+ println!("");
+ println!("{} ( {} )", task.id, task.input_hash);
+ for (output, hash) in &task.output {
+ println!("-> {} ( {} )", output, hash);
+ }
}
Ok(())
}