From 6e81ec6f468037f8155f7ec6665dc1d1cd8b4f5d Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 20 Nov 2023 13:59:13 -0500 Subject: [PATCH] redis_tui --- projects/github.com/mat2cc/redis_tui/package.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"'