2020-09-11 12:58:38 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
2021-04-26 11:02:26 +00:00
|
|
|
(
|
|
|
|
cd local_storage || exit;
|
|
|
|
cargo update --aggressive;
|
2021-05-10 09:51:22 +00:00
|
|
|
marine build --release;
|
2021-04-26 11:02:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd curl_adapter || exit;
|
|
|
|
cargo update --aggressive;
|
2021-05-10 09:51:22 +00:00
|
|
|
marine build --release;
|
2021-04-26 11:02:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd facade || exit;
|
|
|
|
cargo update --aggressive;
|
2021-05-10 09:51:22 +00:00
|
|
|
marine build --release;
|
2021-04-26 11:02:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
rm -f artifacts/* || true
|
|
|
|
mkdir -p artifacts
|
2020-09-11 12:58:38 +00:00
|
|
|
|
2020-09-14 11:22:56 +00:00
|
|
|
cp ../../target/wasm32-wasi/release/local_storage.wasm artifacts/
|
2020-12-09 12:57:10 +00:00
|
|
|
cp ../../target/wasm32-wasi/release/curl_adapter.wasm artifacts/
|
2020-11-30 09:14:21 +00:00
|
|
|
cp ../../target/wasm32-wasi/release/facade.wasm artifacts/
|