marine/examples/records/build.sh
2021-05-10 12:51:22 +03:00

21 lines
432 B
Bash
Executable File

#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
(
cd effector || exit;
cargo update --aggressive;
marine build --release;
)
(
cd pure || exit;
cargo update --aggressive;
marine build --release;
)
rm artifacts/* || true
mkdir -p artifacts
cp ../../target/wasm32-wasi/release/records_effector.wasm artifacts/
cp ../../target/wasm32-wasi/release/records_pure.wasm artifacts/