From e317e57f5d584f99b52d13134143427f38c6e8e2 Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Thu, 1 Dec 2022 20:14:41 -0800 Subject: [PATCH] +crates.io/fd-find --- projects/crates.io/fd-find/package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/crates.io/fd-find/package.yml diff --git a/projects/crates.io/fd-find/package.yml b/projects/crates.io/fd-find/package.yml new file mode 100644 index 00000000..365e8ac4 --- /dev/null +++ b/projects/crates.io/fd-find/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/sharkdp/fd/archive/refs/tags/v{{version}}.tar.gz + strip-components: 1 + +provides: + - bin/fd + +versions: + github: sharkdp/fd/tags + +build: + dependencies: + rust-lang.org: '>=1.60' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: | + mv $FIXTURE test.cpp + fd -e cpp test + fixture: | + hello, world