Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
controller: Add zst extension to automatic deps
Browse files Browse the repository at this point in the history
ztd format tar archives are typically named *.tar.zst

Fixes #14 -- primarily fixed by commits by @ikeycode

Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo committed Sep 16, 2022
1 parent 4e7c557 commit 1b1e9f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/boulder/controller.d
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ public final class Controller : StageContext
case "xz":
upstreamDeps ~= ["binary(tar)", "binary(xz)",];
break;
case "zst":
upstreamDeps ~= ["binary(tar)", "binary(zstd)"];
break;
case "bz2":
upstreamDeps ~= ["binary(tar)", "binary(bzip2)",];
break;
Expand All @@ -254,6 +257,7 @@ public final class Controller : StageContext
upstreamDeps ~= "binary(ar)";
break;
default:
trace(format!"Extension '.%s' not matched, no dependencies added."(extension));
break;
}
}
Expand Down

0 comments on commit 1b1e9f9

Please sign in to comment.