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