pantry/projects/terragrunt.gruntwork.io/package.yml

30 lines
588 B
YAML
Raw Normal View History

2023-03-24 17:50:45 +03:00
distributable:
url: https://github.com/gruntwork-io/terragrunt/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: gruntwork-io/terragrunt
provides:
- bin/terragrunt
dependencies:
terraform.io: '*'
build:
script: |
go build -v -ldflags="$LDFLAGS"
mkdir -p "{{ prefix }}"/bin
mv terragrunt "{{ prefix }}"/bin
dependencies:
go.dev: ^1.18
env:
LDFLAGS:
[-s, -w, "-X=main.VERSION={{ version }}"]
linux:
LDFLAGS:
- -buildmode=pie
test:
test "$(terragrunt --version)" = "terragrunt version {{ version }}"