Files
examples/marine-examples/multiservice_marine_test/consumer/build.sh
igor d14f818d50 multiservice-marine-test-update (#351)
* added readme with the steps for the example and a small fix for the first run

* removed redandant info

Co-authored-by: igor <dev@igor.sh>
2022-06-29 16:32:33 +02:00

18 lines
317 B
Bash
Executable File

#!/bin/sh
# This script builds all subprojects and puts all created Wasm modules in one dir
cargo update --aggressive
marine build --release
ARTIFACTS="artifacts"
if [ -d "$ARTIFACTS" ]; then
rm ${ARTIFACTS}/* || true
else
mkdir -p "$ARTIFACTS"
fi
cp target/wasm32-wasi/release/consumer.wasm artifacts/