marine/examples/site-storage/build.sh

19 lines
452 B
Bash
Raw Normal View History

2020-09-11 12:58:38 +00:00
#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
2020-09-14 11:22:56 +00:00
cd site-storage
2020-09-11 12:58:38 +00:00
cargo update
fce build --release
cd ../curl
cargo update
fce build --release
cd ../local_storage
cargo update
fce build --release
cd ..
2020-09-14 11:22:56 +00:00
rm -f artifacts/*
cp ../../target/wasm32-wasi/release/curl.wasm artifacts/
cp ../../target/wasm32-wasi/release/local_storage.wasm artifacts/
cp ../../target/wasm32-wasi/release/site-storage.wasm artifacts/