aboutsummaryrefslogtreecommitdiffstats
path: root/tool/make-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'tool/make-snapshot')
-rwxr-xr-xtool/make-snapshot4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/make-snapshot b/tool/make-snapshot
index 91c44bdf88..72c48add50 100755
--- a/tool/make-snapshot
+++ b/tool/make-snapshot
@@ -44,6 +44,10 @@ PACKAGES = {
"zip" => %w".zip zip -qr",
}
+if system("7z", out: IO::NULL)
+ PACKAGES["gzip"] = %w".tar.gz 7z a -tgzip -mx"
+ PACKAGES["zip"] = %w".zip 7z a -tzip -mx"
+end
if gzip = ENV.delete("GZIP")
PACKAGES["gzip"].concat(gzip.shellsplit)
end