2021-05-10 15:32:48 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -o errexit -o nounset -o pipefail
|
2021-03-01 23:03:57 +00:00
|
|
|
|
|
|
|
mkdir -p artifacts
|
|
|
|
|
|
|
|
cd curl_adapter
|
|
|
|
fce build --release
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd hex_converter
|
|
|
|
fce build --release
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd block_getter
|
|
|
|
fce build --release
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd extract_miner_address
|
|
|
|
fce build --release
|
|
|
|
cd ..
|
|
|
|
|
2021-04-30 00:44:07 +00:00
|
|
|
rm -f artifacts/*.wasm
|
|
|
|
|
2021-03-01 23:03:57 +00: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/
|