pantry/projects/crates.io/ripgrep/package.yml

23 lines
402 B
YAML
Raw Normal View History

2022-12-02 07:04:58 +03:00
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