+dprint.dev -- Pluggable and configurable code formatting platform written in Rust.

This commit is contained in:
Kevin Chen 2023-08-22 22:20:47 -04:00 committed by Jacob Heider
parent 2396135970
commit 7bd83f9ea6

View file

@ -0,0 +1,22 @@
distributable:
url: https://github.com/dprint/dprint/archive/refs/tags/{{ version }}.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'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script:
- test "$(dprint --version)" = "dprint {{version}}"