pantry/projects/leo-lang.org/package.yml
Jacob Heider f549ea35a8 fix(leo)
closes #6125
2024-05-14 17:25:39 -04:00

24 lines
571 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: '*'
cmake.org: ^3 # as of 1.12.0 for libz-ng-sys crate
script:
- cargo install --locked --path . --root {{prefix}}
provides:
- bin/leo
test:
script:
- leo new helloworld
- cd helloworld
- leo build | grep "Compiled 'main.leo' into Aleo instructions"
- leo --version | grep {{version}}