diff --git a/aqua-examples/drand/services/scripts/build.sh b/aqua-examples/drand/services/scripts/build.sh new file mode 100755 index 0000000..bc6deb7 --- /dev/null +++ b/aqua-examples/drand/services/scripts/build.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash -o errexit -o nounset -o pipefail + +mkdir -p artifacts +rm -f artifacts/*.wasm + +cd curl_adapter +marine build --release +cp target/wasm32-wasi/release/curl_adapter.wasm ../artifacts/ + +cd ../drand +marine build --release +cp target/wasm32-wasi/release/drand.wasm ../artifacts/ + +cd .. \ No newline at end of file