diff --git a/projects/github.com/mat2cc/redis_tui/package.yml b/projects/github.com/mat2cc/redis_tui/package.yml index d51fdfaf..fde7ac15 100644 --- a/projects/github.com/mat2cc/redis_tui/package.yml +++ b/projects/github.com/mat2cc/redis_tui/package.yml @@ -11,9 +11,15 @@ build: go.dev: ^1.20 script: - go build -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/ ./... + env: + LDFLAGS: + - -s + - -w + linux: + LDFLAGS: + - -buildmode=pie provides: - - bin/acptee - bin/redis_tui test: 'echo "$(redis_tui 2>&1 || true)" | grep "connect: connection refused"'