mirror of
https://github.com/fluencelabs/examples
synced 2025-04-29 04:32:14 +00:00
11 lines
266 B
Bash
11 lines
266 B
Bash
|
#!/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
|
||
|
marine build --release
|
||
|
|
||
|
rm -f -r artifacts/*
|
||
|
mkdir artifacts
|
||
|
cp target/wasm32-wasi/release/math.wasm artifacts/
|