pantry/projects/svenstaro.github.io/genact/package.yml
2023-11-18 15:49:25 -05:00

21 lines
408 B
YAML

distributable:
url: https://github.com/svenstaro/genact/archive/refs/tags/v{{ version }}.tar.gz
strip-components: 1
provides:
- bin/genact
versions:
github: svenstaro/genact
strip: /v/
build:
dependencies:
rust-lang.org: ">=1.56"
rust-lang.org/cargo: "*"
script:
- cargo install --path . --root {{prefix}}
test:
script:
- test "$(genact --version)" = "genact {{version}}"