pantry/projects/crates.io/git-grab/package.yml
2023-08-21 15:51:58 -04:00

25 lines
468 B
YAML

distributable:
url: https://github.com/wezm/git-grab/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/git-grab
versions:
github: wezm/git-grab
strip: /v/
build:
dependencies:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
dependencies:
git-scm.org: '*'
script:
- git grab https://github.com/kelseyhightower/nocode
- rm -rf nocode