mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
28 lines
576 B
Bash
Executable File
28 lines
576 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
|
(
|
|
cd local_storage || exit;
|
|
cargo update --aggressive;
|
|
fce build --release;
|
|
)
|
|
|
|
(
|
|
cd curl_adapter || exit;
|
|
cargo update --aggressive;
|
|
fce build --release;
|
|
)
|
|
|
|
(
|
|
cd facade || exit;
|
|
cargo update --aggressive;
|
|
fce build --release;
|
|
)
|
|
|
|
rm -f artifacts/* || true
|
|
mkdir -p 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/
|