diff --git a/redis/src/helpers.rs b/redis/src/helpers.rs index 7486bbf..562c1ac 100644 --- a/redis/src/helpers.rs +++ b/redis/src/helpers.rs @@ -2,15 +2,19 @@ use anyhow::Error; use fluentci_pdk::dag; pub fn setup() -> Result { + dag() + .pipeline("setup")? + .with_exec(vec!["mkdir", "-p", ".fluentci"])? + .stdout()?; + let stdout = dag() .pkgx()? - .with_exec(vec!["mkdir", "-p", ".fluentci"])? + .with_workdir(".fluentci")? .with_packages(vec![ "redis.io", "github.com/darthsim/overmind", "github.com/tmux/tmux", ])? - .with_workdir(".fluentci")? .with_exec(vec![ "grep -q redis Procfile || echo 'redis: redis-server' >> Procfile", ])?