mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
20 lines
440 B
YAML
20 lines
440 B
YAML
|
distributable:
|
||
|
url: https://github.com/topgrade-rs/topgrade/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/topgrade
|
||
|
|
||
|
versions:
|
||
|
github: topgrade-rs/topgrade
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.56'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script: cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
- test "$(topgrade --version)" = "Topgrade {{version}}"
|
||
|
- topgrade --dry-run --disable system
|