mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
23 lines
514 B
YAML
23 lines
514 B
YAML
|
distributable:
|
||
|
url: https://github.com/AleoHQ/leo/archive/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
github: AleoHQ/leo
|
||
|
dependencies:
|
||
|
openssl.org: ^1.1
|
||
|
curl.se: ^8.4
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: ^1.65
|
||
|
rust-lang.org/cargo: '*'
|
||
|
script:
|
||
|
- cargo install --locked --path . --root {{prefix}}
|
||
|
provides:
|
||
|
- bin/leo
|
||
|
test:
|
||
|
script:
|
||
|
- leo new helloworld
|
||
|
- cd helloworld
|
||
|
- leo run | grep "Compiled 'main.leo' into Aleo instructions"
|
||
|
- leo --version | grep {{version}}
|