mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
28 lines
557 B
YAML
28 lines
557 B
YAML
|
display-name: terraform-cdk
|
||
|
|
||
|
distributable:
|
||
|
url: https://registry.npmjs.org/cdktf-cli/-/cdktf-cli-{{version}}.tgz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: hashicorp/terraform-cdk/tags
|
||
|
ignore: /-pre\./
|
||
|
|
||
|
provides:
|
||
|
- bin/cdktf
|
||
|
|
||
|
dependencies:
|
||
|
nodejs.org: "^18"
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
classic.yarnpkg.com: "*"
|
||
|
script:
|
||
|
- mkdir -p "{{prefix}}"
|
||
|
- npm_config_build_from_source=true yarn install --modules-folder {{prefix}}/node_modules
|
||
|
- cp -r bundle/bin package.json {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script: |
|
||
|
cdktf --version | grep {{version}}
|