mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-24 20:28:06 +02:00
[pitboss/grind] deferred session-0014 (20260516T052512Z-20f8)
This commit is contained in:
parent
a2cc5f7700
commit
6a169f51b8
23 changed files with 737 additions and 29 deletions
|
|
@ -66,6 +66,14 @@ pub struct ChainStepHarness {
|
|||
pub filename: String,
|
||||
pub command: Vec<String>,
|
||||
pub extra_env: Vec<(String, String)>,
|
||||
/// Companion files staged alongside [`Self::source`] in the chain
|
||||
/// step's workdir. Each entry is `(relative_path, content)`;
|
||||
/// subdirectories in `relative_path` are created automatically.
|
||||
/// Mirrors [`HarnessSource::extra_files`] so an emitter whose chain
|
||||
/// step needs a build manifest (Rust's `Cargo.toml`, future
|
||||
/// `pom.xml`, etc.) can ship it without smuggling everything into
|
||||
/// `source`.
|
||||
pub extra_files: Vec<(String, String)>,
|
||||
}
|
||||
|
||||
impl ChainStepHarness {
|
||||
|
|
@ -156,6 +164,7 @@ pub fn default_chain_step(prev_output: Option<&[u8]>) -> ChainStepHarness {
|
|||
)]
|
||||
})
|
||||
.unwrap_or_default(),
|
||||
extra_files: Vec::new(),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue