pantry/projects/dprint.dev/package.yml
Jacob Heider 157a11c2f8
fix(dprint)
closes #6230
2024-05-25 12:59:10 -04:00

22 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}}"