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