examples/marine-examples/build_rs/build.sh

11 lines
246 B
Bash
Executable File

#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update --aggressive
marine build --release
rm artifacts/* || true
mkdir -p artifacts
cp target/wasm32-wasi/release/build_rs_test.wasm artifacts/