From d60c654eae00069248205aa3d401082dda8ca55e Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Fri, 25 Aug 2023 20:14:41 -0400 Subject: [PATCH] tv-cli -- Format json into table view --- projects/crates.io/tv-cli/package.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/crates.io/tv-cli/package.yml diff --git a/projects/crates.io/tv-cli/package.yml b/projects/crates.io/tv-cli/package.yml new file mode 100644 index 00000000..12cbc204 --- /dev/null +++ b/projects/crates.io/tv-cli/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/uzimaru0000/tv/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/tv + +versions: + github: uzimaru0000/tv + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(tv --version)" = "tv {{version}}"