mirror of
https://github.com/fluencelabs/examples
synced 2025-06-29 17:51:34 +00:00
* added readme with the steps for the example and a small fix for the first run * removed redandant info Co-authored-by: igor <dev@igor.sh>
18 lines
317 B
Bash
Executable File
18 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
|
cargo update --aggressive
|
|
marine build --release
|
|
|
|
ARTIFACTS="artifacts"
|
|
|
|
if [ -d "$ARTIFACTS" ]; then
|
|
rm ${ARTIFACTS}/* || true
|
|
else
|
|
mkdir -p "$ARTIFACTS"
|
|
fi
|
|
|
|
|
|
|
|
cp target/wasm32-wasi/release/consumer.wasm artifacts/
|