diff --git a/projects/crates.io/zoxide/package.yml b/projects/crates.io/zoxide/package.yml index 3b1993e5..468c0f88 100644 --- a/projects/crates.io/zoxide/package.yml +++ b/projects/crates.io/zoxide/package.yml @@ -15,5 +15,10 @@ build: script: cargo install --locked --path . --root {{prefix}} -test: - zoxide --help \ No newline at end of file +test: | + eval "$(zoxide init bash)" + mkdir foo + cd foo + cd .. + z foo + pwd | grep -E '/foo$' \ No newline at end of file diff --git a/projects/github.com/ajeetdsouza/zoxide/package.yml b/projects/github.com/ajeetdsouza/zoxide/package.yml deleted file mode 100644 index 56486a42..00000000 --- a/projects/github.com/ajeetdsouza/zoxide/package.yml +++ /dev/null @@ -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$' \ No newline at end of file