pantry/projects/git-cliff.org/package.yml
Kevin Chen 7a2c5a3eea
+git-cliff (#2976)
* +git-cliff

* rename

---------

Co-authored-by: Jacob Heider <jacob@tea.xyz>
2023-08-20 16:36:09 -04:00

23 lines
453 B
YAML

distributable:
url: https://github.com/orhun/git-cliff/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/git-cliff
versions:
github: orhun/git-cliff
strip: /v/
build:
working-directory: git-cliff
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(git-cliff --version)" = "git-cliff {{version}}"