mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
22 lines
488 B
YAML
22 lines
488 B
YAML
|
distributable:
|
||
|
url: https://github.com/palerdot/wordl-rs/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/wordl
|
||
|
|
||
|
versions:
|
||
|
github: palerdot/wordl-rs
|
||
|
strip: /v/
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.56'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
# add --version/-V to allow a simple test
|
||
|
- patch -p1 < props/add-version.patch
|
||
|
- cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test: test "$(wordl --version)" = "wordl {{version}}"
|