mirror of
https://github.com/fluencelabs/fluence-service-template
synced 2024-12-05 00:10:17 +00:00
20 lines
350 B
Bash
20 lines
350 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
(
|
||
|
cd effector || exit;
|
||
|
cargo update --aggressive;
|
||
|
marine build --release;
|
||
|
)
|
||
|
|
||
|
(
|
||
|
cd pure || exit;
|
||
|
cargo update --aggressive;
|
||
|
marine build --release;
|
||
|
)
|
||
|
|
||
|
rm artifacts/* || true
|
||
|
mkdir -p artifacts
|
||
|
|
||
|
cp ./effector/target/wasm32-wasi/release/ipfs_effector.wasm artifacts/
|
||
|
cp ./pure/target/wasm32-wasi/release/ipfs_pure.wasm artifacts/
|