diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-04 04:04:18 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-04 04:04:18 +0900 |
| commit | 1cb792cf6efe4d0b0435f7db8c8f341b62fe89c2 (patch) | |
| tree | 2bc7f5e418e914007145067e6fe29e7aa98729c6 /cmd | |
| parent | b2b40b07e83af85330157e134d1cc591ed4f7c76 (diff) | |
cmd/dist: increase gzip level
Performance does not matter in this case.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/dist/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dist/main.go b/cmd/dist/main.go index 5b4594d4..c71dd806 100644 --- a/cmd/dist/main.go +++ b/cmd/dist/main.go @@ -130,7 +130,7 @@ func main() { }() h := sha512.New() - gw := gzip.NewWriter(io.MultiWriter(f, h)) + gw, _ := gzip.NewWriterLevel(io.MultiWriter(f, h), gzip.BestCompression) tw := tar.NewWriter(gw) mustWriteHeader := func(name string, size int64, mode os.FileMode) { |
