mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+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 <jacob@tea.xyz>
This commit is contained in:
parent
8e83672d20
commit
84e3d11378
1 changed files with 29 additions and 0 deletions
29
projects/crates.io/git-trim/package.yml
Normal file
29
projects/crates.io/git-trim/package.yml
Normal file
|
@ -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}}"
|
Loading…
Reference in a new issue