mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
20 lines
390 B
YAML
20 lines
390 B
YAML
|
distributable:
|
||
|
url: https://github.com/sharkdp/hyperfine/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/hyperfine
|
||
|
|
||
|
versions:
|
||
|
github: sharkdp/hyperfine/tags
|
||
|
strip: /v/
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.60'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test: hyperfine --runs 5 'sleep 0.3'
|