+crates.io/ripgrep

This commit is contained in:
Jonathan Chang 2022-12-01 20:04:58 -08:00 committed by Max Howell
parent 41c5957d37
commit 3a328f8281

View file

@ -0,0 +1,22 @@
distributable:
url: https://github.com/BurntSushi/ripgrep/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
provides:
- bin/rg
versions:
github: BurntSushi/ripgrep/tags
build:
dependencies:
rust-lang.org: '>=1.34'
rust-lang.org/cargo: '*'
script:
cargo install --locked --path . --root {{prefix}}
test:
script: |
rg hello $FIXTURE
fixture: |
hello, world