mirror of
https://github.com/fluencelabs/aqua-ipfs
synced 2025-03-16 05:30:50 +00:00
18 lines
442 B
Bash
18 lines
442 B
Bash
|
#!/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
|
||
|
cd effector
|
||
|
cargo update --aggressive
|
||
|
marine build --release
|
||
|
|
||
|
cd ../pure
|
||
|
cargo update --aggressive
|
||
|
marine build --release
|
||
|
|
||
|
cd ..
|
||
|
mkdir -p artifacts
|
||
|
rm -f artifacts/*.wasm
|
||
|
cp effector/target/wasm32-wasi/release/ipfs_effector.wasm artifacts/
|
||
|
cp pure/target/wasm32-wasi/release/ipfs_pure.wasm artifacts/
|