mirror of
https://github.com/fluencelabs/examples
synced 2024-12-13 07:05:31 +00:00
19 lines
456 B
Bash
19 lines
456 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
||
|
cd local_storage
|
||
|
cargo update
|
||
|
fce build --release
|
||
|
cd ../curl_adapter
|
||
|
cargo update
|
||
|
fce build --release
|
||
|
cd ../facade
|
||
|
cargo update
|
||
|
fce build --release
|
||
|
|
||
|
cd ..
|
||
|
rm -f artifacts/*
|
||
|
cp ../../target/wasm32-wasi/release/local_storage.wasm artifacts/
|
||
|
cp ../../target/wasm32-wasi/release/curl_adapter.wasm artifacts/
|
||
|
cp ../../target/wasm32-wasi/release/facade.wasm artifacts/
|