diff options
| author | Stefan Boberg <[email protected]> | 2022-06-03 10:13:34 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2022-06-03 10:13:34 +0200 |
| commit | 22580172708082c9083eb10552221127a9c088f5 (patch) | |
| tree | a4ccaa8888fbe36a75315e33c8f316b59af77b71 /scripts/bundle.lua | |
| parent | merge from main (diff) | |
| download | zen-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.lua | 4 |
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 |