examples/marine-examples/greeting/build.sh

11 lines
288 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
2021-04-08 05:08:22 +00:00
# This script builds all subprojects and puts all created Wasm modules in one dir
2021-06-16 23:27:49 +00:00
cargo update --aggressive
marine build --release
2021-04-08 05:08:22 +00:00
mkdir -p artifacts
2021-04-11 18:15:51 +00:00
rm -f artifacts/*.wasm
2021-04-08 05:08:22 +00:00
cp target/wasm32-wasi/release/greeting.wasm artifacts/