2020-09-15 22:14:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
2021-04-26 11:02:26 +00:00
|
|
|
(
|
|
|
|
cd effector || exit;
|
|
|
|
cargo update --aggressive;
|
2021-05-10 09:51:22 +00:00
|
|
|
marine build --release;
|
2021-04-26 11:02:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
(
|
|
|
|
cd pure || exit;
|
|
|
|
cargo update --aggressive;
|
2021-05-10 09:51:22 +00:00
|
|
|
marine build --release;
|
2021-04-26 11:02:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
rm artifacts/* || true
|
|
|
|
mkdir -p artifacts
|
|
|
|
|
2020-09-15 22:14:15 +00:00
|
|
|
cp ../../target/wasm32-wasi/release/ipfs_effector.wasm artifacts/
|
|
|
|
cp ../../target/wasm32-wasi/release/ipfs_pure.wasm artifacts/
|