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

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