From f14b7658622e82dac13d90215584d853a8313e0e Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Mon, 21 Aug 2023 15:37:05 -0400 Subject: [PATCH] +git-grab --- projects/crates.io/git-grab/package.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 projects/crates.io/git-grab/package.yml diff --git a/projects/crates.io/git-grab/package.yml b/projects/crates.io/git-grab/package.yml new file mode 100644 index 00000000..a0333ac9 --- /dev/null +++ b/projects/crates.io/git-grab/package.yml @@ -0,0 +1,24 @@ +distributable: + url: https://github.com/wezm/git-grab/archive/refs/tags/{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/git-grab + +versions: + github: wezm/git-grab + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + dependencies: + git-scm.org: '*' + script: + - git grab https://github.com/kelseyhightower/nocode + - rm -rf nocode