pantry/projects/opentofu.org/package.yml
Andrew 3270c4d7a9
opentofu.org (#3763)
* new file:   projects/opentofu.org/package.yml

* TFOFU_PROVIDER_REGISTRY

* wip
2023-10-23 10:03:51 -04:00

32 lines
714 B
YAML

distributable:
url: https://github.com/opentofu/opentofu/archive/refs/tags/v1.6.0-alpha3.tar.gz
strip-components: 1
versions:
# github: opentofu/opentofu
# 1.6.0-alpha3
- '1.6.0.3'
dependencies:
linux:
# Needs libraries at runtime:
# /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by node)
gnu.org/gcc: '*'
build:
dependencies:
go.dev: '*'
script:
- go build $GO_ARGS -ldflags="$LD_FLAGS" ./cmd/tofu
env:
GO_ARGS:
- -o="{{prefix}}/bin/"
LD_FLAGS:
- -s
- -w
linux:
CGO_ENABLED: 0
provides:
- bin/tofu
test:
script:
- tofu init
- tofu graph
- tofu --version | grep {{version.marketing}}