+crates.io/git-delta

This commit is contained in:
Jason Morganson 2023-04-11 18:04:14 -04:00 committed by Max Howell
parent 490ac37820
commit 756b984ecb

View file

@ -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