mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+wasmer.io
This commit is contained in:
parent
59c5d75d83
commit
bcb6ddebfd
35
projects/wasmer.io/package.yml
Normal file
35
projects/wasmer.io/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
|||
distributable:
|
||||
strip-components: 1
|
||||
url: https://github.com/wasmerio/wasmer/archive/refs/tags/v{{version.raw}}.tar.gz
|
||||
|
||||
versions:
|
||||
github: wasmerio/wasmer/tags
|
||||
strip: /v/
|
||||
|
||||
interprets:
|
||||
extensions: wasm
|
||||
args: [wasmer, run]
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
rust-lang.org: ^1.65
|
||||
rust-lang.org/cargo: ^0
|
||||
nodejs.org: ^18
|
||||
gnu.org/make: ^4
|
||||
env:
|
||||
RUSTFLAGS:
|
||||
# Ignore warnings (to focus on errors)
|
||||
- -A warnings
|
||||
# Remove debug information (to reduce binary size)
|
||||
- -C debuginfo=0
|
||||
script: |
|
||||
mkdir -p "{{prefix}}"/bin
|
||||
make build-wasmer
|
||||
mv target/release/wasmer "{{prefix}}"/bin
|
||||
|
||||
provides:
|
||||
- bin/wasmer
|
||||
|
||||
test:
|
||||
script: |
|
||||
test "$(wasmer --version)" = "wasmer {{version.raw}}"
|
Loading…
Reference in a new issue