2023-04-09 14:53:21 +03:00
|
|
|
distributable:
|
2024-05-02 21:15:24 +03:00
|
|
|
url: https://github.com/n0-computer/iroh/archive/refs/tags/{{version.tag}}.tar.gz
|
2023-04-09 14:53:21 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2024-05-02 21:15:24 +03:00
|
|
|
github: n0-computer/iroh
|
2023-04-09 14:53:21 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org/cargo: '*'
|
2024-05-02 21:15:24 +03:00
|
|
|
rust-lang.org: ^1.78 # stdsimd changes
|
2023-04-09 14:53:21 +03:00
|
|
|
script:
|
2024-03-25 21:54:20 +03:00
|
|
|
- run: cargo install --path . --locked --root {{prefix}}
|
2023-09-26 15:47:52 +03:00
|
|
|
if: <0.6.0
|
2024-03-25 21:54:20 +03:00
|
|
|
- run: cargo install --path iroh --locked --root {{prefix}}
|
|
|
|
if: '>=0.6.0<0.13.0'
|
|
|
|
- run: cargo install --path iroh-cli --locked --root {{prefix}}
|
|
|
|
if: '>=0.13.0'
|
2023-04-09 14:53:21 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/iroh
|
|
|
|
|
2023-09-26 15:47:52 +03:00
|
|
|
test: iroh --help
|