mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+zoxide
This commit is contained in:
parent
565a918481
commit
f4ba73a3a7
1 changed files with 24 additions and 0 deletions
24
projects/github.com/ajeetdsouza/zoxide/package.yml
Normal file
24
projects/github.com/ajeetdsouza/zoxide/package.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
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