From 84e3d1137848ff12eda9fcac1f7bab3150cb5749 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Tue, 19 Sep 2023 15:49:09 -0400 Subject: [PATCH] +git-trim -- Automatically trims merged/stale branches (#3354) * +git-trim -- Automatically trims merged/stale branches * wip * git * vergen 7.4.3? * git checkout? * zlib --------- Co-authored-by: Jacob Heider --- projects/crates.io/git-trim/package.yml | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/crates.io/git-trim/package.yml diff --git a/projects/crates.io/git-trim/package.yml b/projects/crates.io/git-trim/package.yml new file mode 100644 index 00000000..e43c5105 --- /dev/null +++ b/projects/crates.io/git-trim/package.yml @@ -0,0 +1,29 @@ +distributable: + # vergen requires a git repo :( + #url: https://github.com/foriequal0/git-trim/archive/refs/tags/v{{ version }}.tar.gz + #strip-components: 1 + url: git+https://github.com/foriequal0/git-trim + ref: v{{ version }} + +provides: + - bin/git-trim + +versions: + github: foriequal0/git-trim + strip: /v/ + +dependencies: + openssl.org: ^1.1 + zlib.net: ^1 + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + freedesktop.org/pkg-config: '*' + script: + cargo install --path . --root {{prefix}} + +test: + script: + - test "$(git-trim --version)" = "git-trim {{version}}"