2023-12-05 23:16:32 +03:00
|
|
|
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
|
2024-03-30 21:44:57 +03:00
|
|
|
- leo build | grep "Compiled 'main.leo' into Aleo instructions"
|
2023-12-05 23:16:32 +03:00
|
|
|
- leo --version | grep {{version}}
|