examples/greeting/build.sh
2021-06-13 13:47:07 -05:00

11 lines
275 B
Bash
Executable File

#!/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
mkdir -p artifacts
rm -f artifacts/*.wasm
cp target/wasm32-wasi/release/greeting.wasm artifacts/