diff --git a/projects/crates.io/ripgrep/package.yml b/projects/crates.io/ripgrep/package.yml new file mode 100644 index 00000000..e6feb1fb --- /dev/null +++ b/projects/crates.io/ripgrep/package.yml @@ -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