examples/multi-service/ethqlite/build.sh

11 lines
362 B
Bash
Raw Normal View History

#!/usr/bin/env bash -o errexit -o nounset -o pipefail
2021-03-05 00:38:00 +00:00
# This script builds all subprojects and puts all created Wasm modules in one dir
# cargo update
fce build --release
rm -f artifacts/*.wasm
2021-03-08 23:33:45 +00:00
cp target/wasm32-wasi/release/ethqlite.wasm artifacts/
wget https://github.com/fluencelabs/sqlite/releases/download/v0.10.0_w/sqlite3.wasm
mv sqlite3.wasm artifacts/