mirror of
https://github.com/fluencelabs/examples
synced 2024-12-04 19:20:17 +00:00
add scripts, artifacts
This commit is contained in:
parent
ce9793ee63
commit
cdb9d1ca7b
14
aqua-examples/drand/services/scripts/build.sh
Executable file
14
aqua-examples/drand/services/scripts/build.sh
Executable file
@ -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 ..
|
Loading…
Reference in New Issue
Block a user