From 82e2de390e7205dc5427567dd32289905f218278 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Sat, 16 Sep 2023 19:50:37 -0400 Subject: [PATCH] +commit -- CLI to assist with Conventional Commits --- .../github.com/alt-art/commit/package.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/github.com/alt-art/commit/package.yml diff --git a/projects/github.com/alt-art/commit/package.yml b/projects/github.com/alt-art/commit/package.yml new file mode 100644 index 00000000..25d20c73 --- /dev/null +++ b/projects/github.com/alt-art/commit/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/alt-art/commit/archive/refs/tags/{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/commit + +versions: + github: alt-art/commit + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(commit --version)" = "commit {{version}}"