mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+git-branchless
This commit is contained in:
parent
4c2bb1dc95
commit
44a613b789
1 changed files with 30 additions and 0 deletions
30
projects/crates.io/git-branchless/package.yml
Normal file
30
projects/crates.io/git-branchless/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
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/
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in a new issue