mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
157a11c2f8
closes #6230
21 lines
448 B
YAML
21 lines
448 B
YAML
distributable:
|
|
url: https://github.com/dprint/dprint/archive/refs/tags/{{ version.tag }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/dprint
|
|
|
|
versions:
|
|
github: dprint/dprint
|
|
strip: /v/
|
|
|
|
build:
|
|
working-directory: crates/dprint
|
|
dependencies:
|
|
rust-lang.org: '>=1.65<1.78'
|
|
rust-lang.org/cargo: '*'
|
|
script: cargo install --locked --path . --root {{prefix}}
|
|
|
|
test:
|
|
script:
|
|
- test "$(dprint --version)" = "dprint {{version}}"
|