mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
e6ac0a5e13
linux needs libgit2 closes #6244
33 lines
738 B
YAML
33 lines
738 B
YAML
distributable:
|
|
url: https://github.com/arxanas/git-branchless/archive/refs/tags/v{{ version }}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/git-branchless
|
|
|
|
versions:
|
|
github: arxanas/git-branchless
|
|
strip: /v/
|
|
|
|
dependencies:
|
|
linux:
|
|
libgit2.org: 1
|
|
|
|
build:
|
|
working-directory: git-branchless
|
|
dependencies:
|
|
rust-lang.org: '>=1.56'
|
|
rust-lang.org/cargo: '*'
|
|
script: cargo install --locked --path . --root {{prefix}}
|
|
|
|
test:
|
|
dependencies:
|
|
git-scm.org: '*'
|
|
script:
|
|
- git clone https://github.com/kelseyhightower/nocode
|
|
- cd nocode
|
|
- git branchless init
|
|
- test "$(git branchless --version)" = "git-branchless-opts {{version}}"
|
|
- git branchless init --uninstall
|
|
- cd ..
|
|
- rm -rf nocode
|