pantry/projects/crates.io/bottom/package.yml
Jacob Heider 6d29e070d7 +bottom
2023-04-28 23:48:36 -04:00

21 lines
407 B
YAML

distributable:
url: https://github.com/ClementTsang/bottom/archive/refs/tags/{{ version }}.tar.gz
strip-components: 1
provides:
- bin/btm
versions:
github: ClementTsang/bottom
strip: / Release/
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
test "$(btm --version)" = "bottom {{version}}"