update marine example

This commit is contained in:
boneyard93501
2021-08-04 16:15:32 -05:00
parent b7b099d3a2
commit af5cb52442
4 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update --aggressive
marine build --release
mkdir -p artifacts
rm -f artifacts/*.wasm
cp target/wasm32-wasi/release/hello_peer.wasm artifacts/