+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>
This commit is contained in:
Kevin Chen 2023-11-18 16:26:16 -05:00 committed by GitHub
parent fb3e0f2ac1
commit 7fdd2b4d17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,26 @@
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}}"