examples/par-greeter/secure-greeter/build.sh
2021-04-09 22:50:07 -05:00

10 lines
274 B
Bash
Executable File

#!/usr/bin/env bash -o errexit -o nounset -o pipefail
# This script builds all subprojects and puts all created Wasm modules in one dir
mkdir -p artifacts
cargo update
fce build --release
rm -f artifacts/*.wasm
cp target/wasm32-wasi/release/secure_greeter.wasm artifacts/