pantry/projects/crates.io/topgrade/package.yml
Jacob Heider 7f28bfefcf
+topgrade (#5984)
* +topgrade

* system check will fail the dry-run
2024-04-25 15:42:10 -04:00

19 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