Skip to content
build.sh 345 B
Newer Older
Sergey Pepyakin's avatar
Sergey Pepyakin committed
#!/bin/bash
Sergey Pepyakin's avatar
Sergey Pepyakin committed
# This script assumes that all pre-requisites are installed.
Sergey Pepyakin's avatar
Sergey Pepyakin committed

source `dirname "$0"`/common.sh

export CARGO_INCREMENTAL=0

Sergey Pepyakin's avatar
Sergey Pepyakin committed
# 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