marine/examples/site-storage/build.sh
2020-09-11 15:58:38 +03:00

19 lines
492 B
Bash
Executable File

#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
cd wasm/site-storage
cargo update
fce build --release
cd ../curl
cargo update
fce build --release
cd ../local_storage
cargo update
fce build --release
cd ..
rm artifacts/modules/*
cp ../../../target/wasm32-wasi/release/curl.wasm artifacts/modules
cp ../../../target/wasm32-wasi/release/local_storage.wasm artifacts/modules
cp ../../../target/wasm32-wasi/release/site-storage.wasm artifacts/modules