pantry/projects/github.com/mat2cc/redis_tui/package.yml

26 lines
484 B
YAML
Raw Normal View History

2023-11-20 21:53:38 +03:00
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/ ./...
2023-11-20 21:59:13 +03:00
env:
LDFLAGS:
- -s
- -w
linux:
LDFLAGS:
- -buildmode=pie
2023-11-20 21:53:38 +03:00
provides:
- bin/redis_tui
test: 'echo "$(redis_tui 2>&1 || true)" | grep "connect: connection refused"'