examples/par-greeter/echo-service/build.sh
2021-04-08 00:08:22 -05:00

10 lines
271 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 artifacts/*.wasm
cp target/wasm32-wasi/release/echo_service.wasm artifacts/