From a2c0fa1ba4bd03d75ec0717322a99058651a98a4 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 5 Dec 2022 12:20:46 -0400 Subject: [PATCH] +crates.io/licensor --- projects/crates.io/licensor/package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/crates.io/licensor/package.yml diff --git a/projects/crates.io/licensor/package.yml b/projects/crates.io/licensor/package.yml new file mode 100644 index 00000000..bb23b263 --- /dev/null +++ b/projects/crates.io/licensor/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/raftario/licensor/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +provides: + - bin/licensor + +versions: + github: raftario/licensor/tags + strip: /v/ + +dependencies: + zlib.net: ^1 + +build: + dependencies: + rust-lang.org: '>=1.31' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + licensor MIT | grep 'AS IS'