This commit is contained in:
Jacob Heider 2023-04-28 23:40:49 -04:00 committed by Jacob Heider
parent 3aa5f5741e
commit 6d29e070d7

View file

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