diff --git a/projects/crates.io/rage/package.yml b/projects/crates.io/rage/package.yml new file mode 100644 index 0000000000..55c92c3d50 --- /dev/null +++ b/projects/crates.io/rage/package.yml @@ -0,0 +1,22 @@ +distributable: + url: https://github.com/str4d/rage/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/rage + +versions: + github: str4d/rage + strip: /v/ + +build: + working-directory: rage + dependencies: + rust-lang.org: '>=1.56' + rust-lang.org/cargo: '*' + script: | + cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(rage --version)" = "rage {{version}}"