pantry/projects/github.com/mat2cc/redis_tui/package.yml
Jacob Heider 6e81ec6f46 redis_tui
2023-11-20 14:16:50 -05:00

26 lines
484 B
YAML

distributable:
url: https://github.com/mat2cc/redis_tui/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: mat2cc/redis_tui
strip: /v/
build:
dependencies:
go.dev: ^1.20
script:
- go build -ldflags="$LDFLAGS" -o "{{prefix}}"/bin/ ./...
env:
LDFLAGS:
- -s
- -w
linux:
LDFLAGS:
- -buildmode=pie
provides:
- bin/redis_tui
test: 'echo "$(redis_tui 2>&1 || true)" | grep "connect: connection refused"'