mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
25 lines
542 B
YAML
25 lines
542 B
YAML
|
distributable:
|
||
|
url: https://github.com/rome/tools/archive/refs/tags/v{{ version }}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
provides:
|
||
|
- bin/rome
|
||
|
|
||
|
versions:
|
||
|
github: rome/tools
|
||
|
strip: /v/
|
||
|
|
||
|
build:
|
||
|
working-directory: crates/rome_cli
|
||
|
dependencies:
|
||
|
rust-lang.org: '>=1.65'
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
- sed -i.bak 's/version = "0.0.0"/version = "{{version}}"/' Cargo.toml
|
||
|
- rm Cargo.toml.bak
|
||
|
- cargo install --locked --path . --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script:
|
||
|
- test "$(rome help | head -n1)" = "Rome v{{version}}"
|