marine/examples/sqlite/build.sh
2021-05-10 12:51:22 +03:00

13 lines
361 B
Bash
Executable File

#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update --aggressive
marine build --release
rm artifacts/* || true
mkdir -p artifacts
cp ../../target/wasm32-wasi/release/sqlite_test.wasm artifacts/
wget https://github.com/fluencelabs/sqlite/releases/download/v0.14.0_w/sqlite3.wasm
mv sqlite3.wasm artifacts/