mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
12 lines
329 B
Bash
Executable File
12 lines
329 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cargo +nightly build --target=wasm32-unknown-unknown --release
|
|
dirs=`find * -maxdepth 0 -type d | grep -v pwasm- | grep -v support`
|
|
for i in $dirs
|
|
do
|
|
if [[ -e $i/Cargo.toml ]]
|
|
then
|
|
wasm-gc target/wasm32-unknown-unknown/release/runtime_$i.wasm target/wasm32-unknown-unknown/release/runtime_$i.compact.wasm
|
|
fi
|
|
done
|