summaryrefslogtreecommitdiffstats
path: root/crates/common/src/types.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-10-28 23:21:20 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-10-28 23:28:04 +0200
commit8b71986fe1d7a6a889cbb437294b76b22a1e7377 (patch)
treeb09e7687ff33adc98548aa254dc2e689c82e992d /crates/common/src/types.rs
parentfc117b0900cfcba6f5f87882e15c7d263171f6c3 (diff)
downloadrebel-8b71986fe1d7a6a889cbb437294b76b22a1e7377.tar
rebel-8b71986fe1d7a6a889cbb437294b76b22a1e7377.zip
Pass workdir from driver to runner
The paths modules of driver and runner do not contain any duplicates anymore. One remaining path that still appears in more places than it should is /build.
Diffstat (limited to 'crates/common/src/types.rs')
-rw-r--r--crates/common/src/types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/common/src/types.rs b/crates/common/src/types.rs
index f45d1dd..0dad60c 100644
--- a/crates/common/src/types.rs
+++ b/crates/common/src/types.rs
@@ -37,6 +37,7 @@ pub enum Dependency {
pub struct Task {
pub label: String,
pub command: String,
+ pub workdir: String,
pub inherit: Vec<LayerHash>,
pub depends: HashSet<Dependency>,
pub outputs: HashMap<String, String>,