From b5834b1e6f6d2f6ed8df69a701251d077e3500ea Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 23 Dec 2023 17:54:26 -0500 Subject: [PATCH] +pls -- Pretty ls (#4585) * +pls -- Pretty ls * libgit2 dep * add comment --------- Co-authored-by: Jacob Heider --- projects/dhruvkb.dev/pls/package.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/dhruvkb.dev/pls/package.yml diff --git a/projects/dhruvkb.dev/pls/package.yml b/projects/dhruvkb.dev/pls/package.yml new file mode 100644 index 00000000..d2fa1204 --- /dev/null +++ b/projects/dhruvkb.dev/pls/package.yml @@ -0,0 +1,23 @@ +distributable: + url: https://github.com/pls-rs/pls/archive/refs/tags/v0.0.1-beta.3.tar.gz + strip-components: 1 + +provides: + - bin/pls + +# TODO: use github: pls-rs/pls once they have tagged releases +versions: + - 2023.12.22 + +dependencies: + libgit2.org: ^1 + +build: + dependencies: + rust-lang.org: ">=1.65" + rust-lang.org/cargo: "*" + script: cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(pls --version 2>&1 || true)" = "pls 0.0.1-beta.3"