dedupe(zoxide)

This commit is contained in:
Jacob Heider 2023-05-08 10:36:37 -04:00 committed by Jacob Heider
parent e08b446451
commit 897778150b
2 changed files with 7 additions and 26 deletions

View file

@ -15,5 +15,10 @@ build:
script:
cargo install --locked --path . --root {{prefix}}
test:
zoxide --help
test: |
eval "$(zoxide init bash)"
mkdir foo
cd foo
cd ..
z foo
pwd | grep -E '/foo$'

View file

@ -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$'