mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
+hyperfine
This commit is contained in:
parent
eb077fc603
commit
07c486dffb
1 changed files with 19 additions and 0 deletions
19
projects/crates.io/hyperfine/package.yml
Normal file
19
projects/crates.io/hyperfine/package.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
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'
|
Loading…
Reference in a new issue