From a2e48f99b59356952805597d39c7f9395aa00eb5 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Wed, 30 Aug 2023 12:16:57 -0400 Subject: [PATCH] +cedar-agent -- HTTP server to manage authz policies and data for Cedar --- projects/permit.io/cedar-agent/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/permit.io/cedar-agent/package.yml 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}}"