13 lines
402 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
2021-02-25 15:48:56 -06:00
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update --aggressive
marine build --release
2021-02-25 15:48:56 -06:00
mkdir -p artifacts
rm -f artifacts/*.wasm
cp target/wasm32-wasi/release/sqlite_test.wasm artifacts/
wget https://github.com/fluencelabs/sqlite/releases/download/v0.14.0_w/sqlite3.wasm
2021-02-25 15:48:56 -06:00
mv sqlite3.wasm artifacts/