add scripts, artifacts

This commit is contained in:
boneyard93501 2022-11-29 18:27:20 -06:00
parent ce9793ee63
commit cdb9d1ca7b

View 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 ..