mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
bc6433bf3e
with the release of rust 1.78 we can undo these... tweaks. fix deno specifically Revert "fix deno specifically" This reverts commit 4dbe7bd82386dc429a6d448b2004c3df4f0c9807. revert deno
40 lines
710 B
YAML
40 lines
710 B
YAML
distributable:
|
|
url: https://github.com/FuelLabs/sway/archive/refs/tags/{{version.tag}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: FuelLabs/sway
|
|
|
|
provides:
|
|
- bin/forc
|
|
|
|
dependencies:
|
|
zlib.net: ^1
|
|
openssl.org: ^1.1
|
|
|
|
build:
|
|
dependencies:
|
|
rust-lang.org: ^1.78 # stdsimd changes
|
|
rust-lang.org/cargo: ^0
|
|
# needed to build openssl module
|
|
perl.org: '*'
|
|
gnu.org/make: '*'
|
|
script: cargo install --locked --path forc --root {{prefix}}
|
|
|
|
test:
|
|
script:
|
|
- forc new pkgx_test
|
|
- cd pkgx_test
|
|
- cat $FIXTURE >src/main.sw
|
|
- forc test
|
|
fixture: |
|
|
script;
|
|
|
|
#[test]
|
|
fn test_meaning_of_life() {
|
|
assert(6 * 7 == 42);
|
|
}
|
|
|
|
fn main() {
|
|
()
|
|
}
|