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 15:48:56 -06:00
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update
marine build --release
2021-02-25 15:48:56 -06:00
mkdir -p artifacts
rm -f artifacts/*.wasm
2021-03-17 00:38:37 -05:00
cp target/wasm32-wasi/release/greeting.wasm artifacts/