diff --git a/projects/permit.io/cedar-agent/package.yml b/projects/permit.io/cedar-agent/package.yml new file mode 100644 index 00000000..c235144c --- /dev/null +++ b/projects/permit.io/cedar-agent/package.yml @@ -0,0 +1,21 @@ +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}}"