mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 14:55:32 +00:00
21 lines
420 B
Bash
Executable File
21 lines
420 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
|
(
|
|
cd effector || exit;
|
|
cargo update --aggressive;
|
|
fce build --release;
|
|
)
|
|
|
|
(
|
|
cd pure || exit;
|
|
cargo update --aggressive;
|
|
fce build --release;
|
|
)
|
|
|
|
rm artifacts/* || true
|
|
mkdir -p artifacts
|
|
|
|
cp ../../target/wasm32-wasi/release/ipfs_effector.wasm artifacts/
|
|
cp ../../target/wasm32-wasi/release/ipfs_pure.wasm artifacts/
|