mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
32 lines
714 B
YAML
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}}
|