From 424cbaedf8c9704146b0eed9f6724e4a956f3644 Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Sat, 18 Jan 2025 07:08:14 -0700 Subject: [PATCH] include tools & actions when compiling a job --- tools/src/repo.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/src/repo.rs b/tools/src/repo.rs index dad8916..43ad28a 100644 --- a/tools/src/repo.rs +++ b/tools/src/repo.rs @@ -136,6 +136,23 @@ impl Repo { } } } + + match &recipe.action { + crate::recipe::Action::process(s) => { + if let Some(tools) = &recipe.dependencies.tools { + for _ in 0..indent { + print!(" "); + } + println!("tools: {:?}", tools); + } + for _ in 0..indent { + print!(" "); + } + println!("action: {s}"); + } + _ => (), + } + Ok(()) } }