From 756b984ecb937ec0e61e5aa1c602632f55d8e00d Mon Sep 17 00:00:00 2001 From: Jason Morganson Date: Tue, 11 Apr 2023 18:04:14 -0400 Subject: [PATCH] +crates.io/git-delta --- projects/crates.io/git-delta/package.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/crates.io/git-delta/package.yml diff --git a/projects/crates.io/git-delta/package.yml b/projects/crates.io/git-delta/package.yml new file mode 100644 index 00000000..a1f9756d --- /dev/null +++ b/projects/crates.io/git-delta/package.yml @@ -0,0 +1,24 @@ +distributable: + url: https://github.com/dandavison/delta/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +provides: + - bin/delta + +versions: + github: dandavison/delta/tags + +dependencies: + darwin: + zlib.net: ^1 + +build: + dependencies: + rust-lang.org: '>=1.60' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: | + delta --version