mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
23 lines
465 B
YAML
23 lines
465 B
YAML
|
distributable:
|
||
|
url: https://github.com/cedar-policy/cedar/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/cedar
|
||
|
|
||
|
versions:
|
||
|
github: cedar-policy/cedar
|
||
|
strip: /v/
|
||
|
|
||
|
build:
|
||
|
working-directory: cedar-policy-cli
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.65'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- test "$(cedar --version)" = "cedar-policy-cli {{version}}"
|