mirror of
https://github.com/fluencelabs/examples
synced 2025-06-18 20:41:24 +00:00
change dir name
This commit is contained in:
22
aqua-examples/decentralized-blockchain-gateway/scripts/build.sh
Executable file
22
aqua-examples/decentralized-blockchain-gateway/scripts/build.sh
Executable file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash -o errexit -o nounset -o pipefail
|
||||
|
||||
mkdir -p artifacts
|
||||
rm -f artifacts/*.wasm
|
||||
|
||||
cd curl-adapter
|
||||
cargo update --aggressive
|
||||
marine build --release
|
||||
cp target/wasm32-wasi/release/curl_adapter.wasm ../artifacts/
|
||||
|
||||
|
||||
cd ../multi-provider-query
|
||||
cargo update --aggressive
|
||||
marine build --release
|
||||
cp target/wasm32-wasi/release/multi_provider_query.wasm ../artifacts/
|
||||
|
||||
cd ../simple-quorum
|
||||
cargo update --aggressive
|
||||
marine build --release
|
||||
cp target/wasm32-wasi/release/simple_quorum.wasm ../artifacts/
|
||||
|
||||
cd ..
|
Reference in New Issue
Block a user