summaryrefslogtreecommitdiffstats
path: root/crates/driver/src/driver.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/driver/src/driver.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/driver/src/driver.rs')
-rw-r--r--crates/driver/src/driver.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/driver/src/driver.rs b/crates/driver/src/driver.rs
index 3927291..d7106c3 100644
--- a/crates/driver/src/driver.rs
+++ b/crates/driver/src/driver.rs
@@ -294,6 +294,7 @@ impl<'ctx> Driver<'ctx> {
let task = Task {
label: format!("{:#}", task_ref),
command,
+ workdir: paths::TASK_WORKDIR.to_string(),
inherit: inherit_chain,
depends: task_deps,
outputs: task_output,