mirror of
https://github.com/fluencelabs/marine.git
synced 2025-03-15 05:50:49 +00:00
19 lines
359 B
Bash
19 lines
359 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This script builds all subprojects and puts all created Wasm modules in one dir
|
||
|
(
|
||
|
cd shrek || exit;
|
||
|
marine build --release;
|
||
|
)
|
||
|
|
||
|
(
|
||
|
cd donkey || exit;
|
||
|
marine build --release;
|
||
|
)
|
||
|
|
||
|
rm -f artifacts/* || true
|
||
|
mkdir -p artifacts
|
||
|
|
||
|
cp ../../target/wasm32-wasi/release/shrek.wasm artifacts/
|
||
|
cp ../../target/wasm32-wasi/release/donkey.wasm artifacts/
|