pantry/projects/crates.io/git-delta/package.yml
2023-04-13 08:27:58 -04:00

25 lines
411 B
YAML

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