File tree 1 file changed +5
-2
lines changed 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ GOARCH := $(shell go env GOARCH)
37
37
GOOS_BIN_EXT := $(if $(filter windows, $(GOOS ) ) ,.exe,)
38
38
VERSION := $(shell ./scripts/version.sh)
39
39
40
+ # Use the highest ZSTD compression level for the release binaries. For
41
+ # development, a sane lower value would be `make build ZSTDFLAGS=-6`.
42
+ ZSTDFLAGS := -22 --ultra
43
+
40
44
# All ${OS}_${ARCH} combos we build for. Windows binaries have the .exe suffix.
41
45
OS_ARCHES := \
42
46
linux_amd64 linux_arm64 linux_armv7 \
@@ -102,9 +106,8 @@ build/coder-slim_$(VERSION).tar: build/coder-slim_$(VERSION)_checksums.sha1 $(CO
102
106
popd
103
107
104
108
build/coder-slim_$(VERSION ) .tar.zst site/out/bin/coder.tar.zst : build/coder-slim_$(VERSION ) .tar
105
- zstd -6 \
109
+ zstd $( ZSTDFLAGS ) \
106
110
--force \
107
- --ultra \
108
111
--long \
109
112
--no-progress \
110
113
-o " build/coder-slim_$( VERSION) .tar.zst" \
You can’t perform that action at this time.
0 commit comments