aboutsummaryrefslogtreecommitdiff
path: root/scripts/bundle.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-06-03 10:13:34 +0200
committerStefan Boberg <[email protected]>2022-06-03 10:13:34 +0200
commit22580172708082c9083eb10552221127a9c088f5 (patch)
treea4ccaa8888fbe36a75315e33c8f316b59af77b71 /scripts/bundle.lua
parentmerge from main (diff)
downloadzen-22580172708082c9083eb10552221127a9c088f5.tar.xz
zen-22580172708082c9083eb10552221127a9c088f5.zip
tweak compression settings to streamline build
previously the bundles used maximum compression, now it uses the fastest mode. With the old setting bundling (release) took 55s on my machine, with these settings it took 28s
Diffstat (limited to 'scripts/bundle.lua')
-rw-r--r--scripts/bundle.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bundle.lua b/scripts/bundle.lua
index 01268ab14..008dcdf4e 100644
--- a/scripts/bundle.lua
+++ b/scripts/bundle.lua
@@ -82,7 +82,7 @@ local function _zip(store_only, zip_path, ...)
end
end
- compression_level = "-mx9"
+ compression_level = "-mx1"
if store_only then
compression_level = "-mx0"
end
@@ -105,7 +105,7 @@ local function _zip(store_only, zip_path, ...)
input_paths = { "." }
end
- compression_level = "-9"
+ compression_level = "-1"
if store_only then
compression_level = "-0"
end