1
0
mirror of https://github.com/fluencelabs/examples synced 2025-07-25 06:01:56 +00:00
Files
examples/echo-greeter/echo-service/build.sh

11 lines
281 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
2021-04-08 00:08:22 -05:00
# This script builds all subprojects and puts all created Wasm modules in one dir
mkdir -p artifacts
# cargo update
marine build --release
2021-04-08 00:08:22 -05:00
rm -f artifacts/*.wasm
2021-04-08 00:08:22 -05:00
cp target/wasm32-wasi/release/echo_service.wasm artifacts/