mirror of
https://github.com/fluencelabs/examples
synced 2025-03-28 05:41:05 +00:00
13 lines
402 B
Bash
Executable File
13 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit -o nounset -o pipefail
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
|
cargo update --aggressive
|
|
marine build --release
|
|
|
|
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.15.0_w/sqlite3.wasm
|
|
mv sqlite3.wasm artifacts/
|