mirror of
https://github.com/ivabus/pantry
synced 2024-11-15 04:55:08 +03:00
28 lines
456 B
YAML
28 lines
456 B
YAML
|
distributable:
|
||
|
url: https://github.com/Byron/dua-cli/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/dua
|
||
|
|
||
|
versions:
|
||
|
github: Byron/dua-cli/tags
|
||
|
strip: /v/
|
||
|
|
||
|
dependencies:
|
||
|
zlib.net: ^1
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.60'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script: |
|
||
|
for x in foo bar baz bat; do
|
||
|
echo $x > $x
|
||
|
done
|
||
|
dua
|