mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
dedupe(zoxide)
This commit is contained in:
parent
e08b446451
commit
897778150b
2 changed files with 7 additions and 26 deletions
|
@ -15,5 +15,10 @@ build:
|
||||||
script:
|
script:
|
||||||
cargo install --locked --path . --root {{prefix}}
|
cargo install --locked --path . --root {{prefix}}
|
||||||
|
|
||||||
test:
|
test: |
|
||||||
zoxide --help
|
eval "$(zoxide init bash)"
|
||||||
|
mkdir foo
|
||||||
|
cd foo
|
||||||
|
cd ..
|
||||||
|
z foo
|
||||||
|
pwd | grep -E '/foo$'
|
|
@ -1,24 +0,0 @@
|
||||||
distributable:
|
|
||||||
url: https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v{{version}}.tar.gz
|
|
||||||
strip-components: 1
|
|
||||||
|
|
||||||
versions:
|
|
||||||
github: ajeetdsouza/zoxide
|
|
||||||
strip: /^v/
|
|
||||||
|
|
||||||
build:
|
|
||||||
dependencies:
|
|
||||||
rust-lang.org: ^1.60
|
|
||||||
rust-lang.org/cargo: ^0
|
|
||||||
script: cargo install --locked --path . --root "{{prefix}}"
|
|
||||||
|
|
||||||
provides:
|
|
||||||
- bin/zoxide
|
|
||||||
|
|
||||||
test: |
|
|
||||||
eval "$(zoxide init bash)"
|
|
||||||
mkdir foo
|
|
||||||
cd foo
|
|
||||||
cd ..
|
|
||||||
z foo
|
|
||||||
pwd | grep -E '/foo$'
|
|
Loading…
Reference in a new issue