diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-18 17:22:46 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2021-09-18 17:26:50 +0200 |
commit | 667769d0afc009b15da5c00be3e603ec44301287 (patch) | |
tree | 53ea4adcb06df75baad22dec9d9fda6a29fea572 /src/executor.rs | |
parent | 4ad6862f763f75dccbcab8a705ae060be20d57f9 (diff) | |
download | rebel-667769d0afc009b15da5c00be3e603ec44301287.tar rebel-667769d0afc009b15da5c00be3e603ec44301287.zip |
executor: use run string instead of action for TaskInput
Diffstat (limited to 'src/executor.rs')
-rw-r--r-- | src/executor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/executor.rs b/src/executor.rs index 6d1b25c..ab88701 100644 --- a/src/executor.rs +++ b/src/executor.rs @@ -26,7 +26,7 @@ struct TaskInput<'a> { pub inherit: Option<InputHash>, pub depends: &'a HashMap<DependencyHash, Dependency>, pub output: &'a HashMap<String, String>, - pub action: &'a Action, + pub run: &'a str, pub env: &'a HashMap<String, String>, } @@ -179,7 +179,7 @@ impl<'a> Executor<'a> { inherit: inherit_hash, depends: &task_deps, output: &task_output, - action: &task_def.action, + run: &task_def.action.run, env: &env, } .input_hash(); |