mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
24 lines
No EOL
414 B
YAML
24 lines
No EOL
414 B
YAML
distributable:
|
|
url: https://github.com/ajeetdsouza/zoxide/archive/refs/tags/v{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
provides:
|
|
- bin/zoxide
|
|
|
|
versions:
|
|
github: ajeetdsouza/zoxide
|
|
strip: /v/
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org/cargo: '*'
|
|
script:
|
|
cargo install --locked --path . --root {{prefix}}
|
|
|
|
test: |
|
|
eval "$(zoxide init bash)"
|
|
mkdir foo
|
|
cd foo
|
|
cd ..
|
|
z foo
|
|
pwd | grep -E '/foo$' |