From 7fe6f500c6e6d090d2e52ef3cc6ed31bb5aba2f6 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Fri, 25 Aug 2023 19:18:30 -0400 Subject: [PATCH] +omekasy -- Fun command-line font converter --- projects/crates.io/omekasy/package.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 projects/crates.io/omekasy/package.yml diff --git a/projects/crates.io/omekasy/package.yml b/projects/crates.io/omekasy/package.yml new file mode 100644 index 0000000000..7e884691a2 --- /dev/null +++ b/projects/crates.io/omekasy/package.yml @@ -0,0 +1,22 @@ +distributable: + url: https://github.com/ikanago/omekasy/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/omekasy + +versions: + github: ikanago/omekasy + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: + - omekasy --font bold-italic "My new gear..." + - test "$(omekasy --version)" = "omekasy {{version}}"