mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
43 lines
690 B
YAML
43 lines
690 B
YAML
|
distributable:
|
||
|
url: https://github.com/FuelLabs/sway/archive/refs/tags/v{{version}}.tar.gz
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: FuelLabs/sway
|
||
|
|
||
|
provides:
|
||
|
- bin/forc
|
||
|
|
||
|
dependencies:
|
||
|
zlib.net: '*'
|
||
|
linux:
|
||
|
openssl.org: '*'
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
rust-lang.org: 1
|
||
|
rust-lang.org/cargo: ^0.65
|
||
|
linux:
|
||
|
# needed to build openssl module
|
||
|
perl.org: '*'
|
||
|
script:
|
||
|
cargo install --locked --path forc --root {{prefix}}
|
||
|
|
||
|
test:
|
||
|
script: |
|
||
|
forc new tea_test
|
||
|
cd tea_test
|
||
|
cp $FIXTURE src/main.sw
|
||
|
forc test
|
||
|
fixture: |
|
||
|
script;
|
||
|
|
||
|
#[test]
|
||
|
fn test_meaning_of_life() {
|
||
|
assert(6 * 7 == 42);
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
()
|
||
|
}
|