From 2f1ce82c4703913aacc359a0e95e81123743f9d0 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 18 Nov 2023 10:21:54 -0500 Subject: [PATCH] +spacer -- CLI tool to insert spacers when command output stops --- projects/github.com/samwho/spacer/package.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/github.com/samwho/spacer/package.yml diff --git a/projects/github.com/samwho/spacer/package.yml b/projects/github.com/samwho/spacer/package.yml new file mode 100644 index 00000000..bcbb6280 --- /dev/null +++ b/projects/github.com/samwho/spacer/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/samwho/spacer/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/spacer + +versions: + github: samwho/spacer + strip: /v/ + +build: + dependencies: + rust-lang.org: ">=1.56" + rust-lang.org/cargo: "*" + script: + - cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(spacer --version)" = "spacer {{version}}"