examples/par-greeter/secure-greeter/build.sh

10 lines
274 B
Bash
Raw Normal View History

2021-04-10 03:50:07 +00:00
#!/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/