pantry/projects/crates.io/didyoumean/package.yml
Kevin Chen 7fdd2b4d17
+didyoumean -- A CLI spelling corrector for when you're unsure (#4119)
* +didyoumean -- A CLI spelling corrector for when you're unsure

* add xcb for linux

* reqs openssl

* aw, no static linkage

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
2023-11-18 16:26:16 -05:00

26 lines
473 B
YAML

distributable:
url: https://github.com/hisbaan/didyoumean/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/dym
versions:
github: hisbaan/didyoumean
strip: /v/
dependencies:
openssl.org: ^1.1
linux:
x.org/xcb: '*'
build:
dependencies:
rust-lang.org: ">=1.56"
rust-lang.org/cargo: "*"
script:
- cargo install --path . --root {{prefix}}
test:
script:
- test "$(dym --version)" = "didyoumean {{version}}"