mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 20:45:09 +03:00
26 lines
526 B
YAML
26 lines
526 B
YAML
|
distributable:
|
||
|
url: https://github.com/aws/aws-sam-cli/archive/refs/tags/{{version.tag}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: aws/aws-sam-cli
|
||
|
|
||
|
dependencies:
|
||
|
pkgx.sh: ^1
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
python.org: ^3.11
|
||
|
rust-lang.org: '*'
|
||
|
script:
|
||
|
- bkpyvenv stage {{prefix}} {{version}}
|
||
|
- ${{prefix}}/venv/bin/pip install .
|
||
|
- bkpyvenv seal {{prefix}} sam
|
||
|
|
||
|
provides:
|
||
|
- bin/sam
|
||
|
|
||
|
test:
|
||
|
- sam --version | grep {{version}}
|
||
|
- sam validate --region us-east-1 2>&1 | grep 'is a valid SAM Template'
|