2021-06-13 14:26:54 -05:00
|
|
|
#!/bin/sh
|
2021-05-10 18:32:48 +03:00
|
|
|
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
|
2023-02-22 11:14:01 -06:00
|
|
|
cd pure
|
2021-06-13 14:26:54 -05:00
|
|
|
marine build --release
|
|
|
|
|
2023-02-22 11:14:01 -06:00
|
|
|
cd ../facade
|
2021-06-13 14:26:54 -05:00
|
|
|
marine build --release
|
2021-02-25 15:48:56 -06:00
|
|
|
|
|
|
|
cd ..
|
2021-06-13 14:26:54 -05:00
|
|
|
|
|
|
|
mkdir -p artifacts
|
|
|
|
rm -f artifacts/*.wasm
|
|
|
|
cp pure/target/wasm32-wasi/release/records_pure.wasm artifacts/
|
2023-02-22 11:14:01 -06:00
|
|
|
cp facade/target/wasm32-wasi/release/records_facade.wasm artifacts/
|