marine/examples/url-downloader/build.sh

19 lines
456 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-12-09 12:57:10 +00:00
cd local_storage
2020-09-11 12:58:38 +00:00
cargo update
fce build --release
2020-12-09 12:57:10 +00:00
cd ../curl_adapter
2020-09-11 12:58:38 +00:00
cargo update
fce build --release
2020-12-09 12:57:10 +00:00
cd ../facade
2020-09-11 12:58:38 +00:00
cargo update
fce build --release
cd ..
2020-09-14 11:22:56 +00:00
rm -f artifacts/*
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/