examples/par-greeter/greeting/build.sh

10 lines
260 B
Bash
Raw Normal View History

2021-04-08 05:08:22 +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 artifacts/*
cp target/wasm32-wasi/release/greeting.wasm artifacts/