pantry/projects/permit.io/cedar-agent/package.yml

21 lines
437 B
YAML

distributable:
url: https://github.com/permitio/cedar-agent/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/cedar-agent
versions:
github: permitio/cedar-agent
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(cedar-agent --version)" = "cedar-agent {{version}}"