build: remove UPX compression (antivirus false positives, startup penalty)

This commit is contained in:
Deivid Soto 2026-03-30 09:25:08 +02:00
parent 61b44fe86f
commit 9cc806d11f
2 changed files with 0 additions and 9 deletions

View file

@ -19,12 +19,6 @@ builds:
- -X github.com/torrentclaw/torrentclaw-cli/internal/cmd.Version={{.Version}}
- -X github.com/torrentclaw/torrentclaw-cli/internal/sentry.dsn={{ .Env.SENTRY_DSN }}
upx:
- enabled: true
goos:
- linux
- windows
archives:
- format: tar.gz
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"

View file

@ -10,9 +10,6 @@ all: fmt vet lint test build
build:
go build -ldflags '$(LDFLAGS)' -trimpath -o $(BINARY) ./cmd/unarr/
## Build small binary (stripped + UPX compressed, ~5MB)
build-small: build
@command -v upx >/dev/null 2>&1 && upx --best -q $(BINARY) || echo "upx not installed — install with: brew install upx"
## Run all tests
test: