2023-08-23 05:20:47 +03:00
|
|
|
distributable:
|
2024-05-25 19:59:10 +03:00
|
|
|
url: https://github.com/dprint/dprint/archive/refs/tags/{{ version.tag }}.tar.gz
|
2023-08-23 05:20:47 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/dprint
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: dprint/dprint
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
build:
|
|
|
|
working-directory: crates/dprint
|
|
|
|
dependencies:
|
2024-05-25 19:59:10 +03:00
|
|
|
rust-lang.org: '>=1.65<1.78'
|
2023-08-23 05:20:47 +03:00
|
|
|
rust-lang.org/cargo: '*'
|
2024-05-25 19:59:10 +03:00
|
|
|
script: cargo install --locked --path . --root {{prefix}}
|
2023-08-23 05:20:47 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- test "$(dprint --version)" = "dprint {{version}}"
|