Skip to content

Commit 6e9c05f

Browse files
authored
chore: use zstd -6 in dev (coder#4092)
1 parent 21664c5 commit 6e9c05f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,12 @@ GOARCH := $(shell go env GOARCH)
3737
GOOS_BIN_EXT := $(if $(filter windows, $(GOOS)),.exe,)
3838
VERSION := $(shell ./scripts/version.sh)
3939

40-
# Use the highest ZSTD compression level for the release binaries. For
41-
# development, a sane lower value would be `make build ZSTDFLAGS=-6`.
40+
# Use the highest ZSTD compression level in CI.
41+
ifdef CI
4242
ZSTDFLAGS := -22 --ultra
43+
else
44+
ZSTDFLAGS := -6
45+
endif
4346

4447
# All ${OS}_${ARCH} combos we build for. Windows binaries have the .exe suffix.
4548
OS_ARCHES := \

0 commit comments

Comments
 (0)