pantry/projects/kubectx.dev/package.yml

28 lines
523 B
YAML
Raw Normal View History

2023-03-15 10:19:27 +03:00
distributable:
url: git+https://github.com/ahmetb/kubectx.git
ref: ${{version.tag}}
2023-03-15 10:19:27 +03:00
versions:
github: ahmetb/kubectx
ignore: /^v?0\.[0-8](\.|$)/ # prior to 0.9 kubectx was a bash script
2023-03-15 10:19:27 +03:00
provides:
- bin/kubectx
- bin/kubens
dependencies:
github.com/junegunn/fzf: '*'
2023-03-15 10:19:27 +03:00
build:
dependencies:
go.dev: ^1.20
env:
CGO_ENABLED: '0'
script:
- go build -o '{{ prefix }}/bin/kubectx' ./cmd/kubectx
- go build -o '{{ prefix }}/bin/kubens' ./cmd/kubens
2023-03-15 10:19:27 +03:00
test:
- kubectx --help
- kubens --help