24 lines
595 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
2021-03-01 17:03:57 -06:00
cd curl_adapter
marine build --release
2021-03-01 17:03:57 -06:00
cd ../hex_converter
marine build --release
2021-03-01 17:03:57 -06:00
cd ../block_getter
marine build --release
2021-03-01 17:03:57 -06:00
cd ../extract_miner_address
marine build --release
2021-03-01 17:03:57 -06:00
cd ..
mkdir -p artifacts
2021-04-29 19:44:07 -05:00
rm -f artifacts/*.wasm
2021-03-01 17:03:57 -06:00
cp curl_adapter/target/wasm32-wasi/release/curl_adapter.wasm artifacts/
cp hex_converter/target/wasm32-wasi/release/hex_converter.wasm artifacts/
cp block_getter/target/wasm32-wasi/release/block_getter.wasm artifacts/
cp extract_miner_address/target/wasm32-wasi/release/extract_miner_address.wasm artifacts/