mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 04:07:57 +00:00
28 lines
353 B
Bash
Executable File
28 lines
353 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# This script assumes that all pre-requisites are installed.
|
|
|
|
set -e
|
|
|
|
source `dirname "$0"`/common.sh
|
|
|
|
export CARGO_INCREMENTAL=0
|
|
|
|
# Save current directory.
|
|
pushd .
|
|
|
|
cd $ROOT
|
|
|
|
for SRC in "${SRCS[@]}"
|
|
do
|
|
echo "*** Building wasm binaries in $SRC"
|
|
cd $SRC
|
|
|
|
./build.sh
|
|
|
|
cd - >> /dev/null
|
|
done
|
|
|
|
# Restore initial directory.
|
|
popd
|