pantry/projects/github.com/tfutils/tfenv/package.yml
Max Howell 2bbb1b578f
sure, tfenv provides terraform, but only strictly
in practice it doesn’t it provides a tool to control terraform.io
2023-10-28 06:11:42 -04:00

23 lines
441 B
YAML

distributable:
url: https://github.com/tfutils/tfenv/archive/v{{ version }}.tar.gz
strip-components: 1
versions:
github: tfutils/tfenv
dependencies:
gnu.org/grep: '*'
build:
script:
- mkdir -p {{ prefix }}
- cp -R bin lib libexec share CHANGELOG.md "{{ prefix }}"
provides:
# - bin/terraform
# ^^ while strictly true, saying we provide this is misleading
- bin/tfenv
test:
tfenv --version | grep {{ version }}