mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+cedar-policy-cli -- A CLI for working with the Cedar authz engine
This commit is contained in:
parent
8822c9958c
commit
493e19de2f
22
projects/cedarpolicy.com/cli/package.yml
Normal file
22
projects/cedarpolicy.com/cli/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
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}}"
|
Loading…
Reference in a new issue