mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
+crates.io/ripgrep
This commit is contained in:
parent
41c5957d37
commit
3a328f8281
1 changed files with 22 additions and 0 deletions
22
projects/crates.io/ripgrep/package.yml
Normal file
22
projects/crates.io/ripgrep/package.yml
Normal 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
|
Loading…
Reference in a new issue