summaryrefslogtreecommitdiffstats
path: root/src/types.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-26 10:41:04 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-26 14:18:06 +0200
commit3995fe99a9a2be2e4c7b5ce25c80ea7899f7230f (patch)
tree0e75ae639bb533e19abe81ca9eb99b3f9060adba /src/types.rs
parenteb052bdbaff92147e8012985f5d6fe0d78390f3c (diff)
downloadrebel-3995fe99a9a2be2e4c7b5ce25c80ea7899f7230f.tar
rebel-3995fe99a9a2be2e4c7b5ce25c80ea7899f7230f.zip
Pass path with dependencies instead of distinguishing build and host deps
Diffstat (limited to 'src/types.rs')
-rw-r--r--src/types.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/types.rs b/src/types.rs
index 51b9420..653768a 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -75,8 +75,7 @@ impl Display for TaskID {
#[serde(rename_all = "snake_case")]
pub enum Dependency {
Fetch { name: String, sha256: StringHash },
- BuildTask { output: ArchiveHash },
- HostTask { output: ArchiveHash },
+ Task { output: ArchiveHash, path: String },
}
impl Dependency {