From 897778150b41b319bfd188c0ebae616c9fd74630 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 8 May 2023 10:36:37 -0400 Subject: [PATCH] dedupe(zoxide) --- projects/crates.io/zoxide/package.yml | 9 +++++-- .../github.com/ajeetdsouza/zoxide/package.yml | 24 ------------------- 2 files changed, 7 insertions(+), 26 deletions(-) delete mode 100644 projects/github.com/ajeetdsouza/zoxide/package.yml 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