examples/greeting/build.sh

11 lines
275 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
2021-02-25 21:48:56 +00:00
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update
marine build --release
2021-02-25 21:48:56 +00:00
mkdir -p artifacts
rm -f artifacts/*.wasm
2021-03-17 05:38:37 +00:00
cp target/wasm32-wasi/release/greeting.wasm artifacts/