2021-03-15 23:58:49 +00:00
|
|
|
#!/bin/sh
|
2021-02-25 21:48:56 +00:00
|
|
|
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
2021-03-15 23:58:49 +00:00
|
|
|
cd local_storage
|
|
|
|
cargo update
|
|
|
|
fce build --release
|
|
|
|
cd ../curl_adapter
|
|
|
|
cargo update
|
|
|
|
fce build --release
|
|
|
|
cd ../facade
|
|
|
|
cargo update
|
|
|
|
fce build --release
|
2021-02-25 21:48:56 +00:00
|
|
|
|
2021-03-15 23:58:49 +00:00
|
|
|
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/
|