mirror of
https://github.com/fluencelabs/examples
synced 2025-04-28 20:22:15 +00:00
16 lines
380 B
Bash
Executable File
16 lines
380 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
|
|
cd effector
|
|
cargo update
|
|
fce build --release
|
|
cd ../pure
|
|
cargo update
|
|
fce build --release
|
|
|
|
cd ..
|
|
rm artifacts/*
|
|
cp ../../target/wasm32-wasi/release/ipfs_effector.wasm artifacts/
|
|
cp ../../target/wasm32-wasi/release/ipfs_pure.wasm artifacts/
|