#! /bin/bash
# Script to update all the dependent libraries and copy the updates
#    into this project.
# This exists mostly so I'll remember the steps.

cd "$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd )"
PLACE=$(pwd)

cd $PLACE/../../three.js
git checkout master
git pull --all
git checkout dev
git pull

cd $PLACE/../../Babylon.js
git checkout master
git pull --all

cd $PLACE/../../Basil-protocol
# checkout master
# git pull --all
# checkout flatbuffers
# git pull
./makeStubs.sh

cd $PLACE
./copyLibs.sh




#! /bin/bash
# Script to update all the dependent libraries and copy the updates
#    into this project.
# This exists mostly so I'll remember the steps.

cd "$( cd "$(dirname "${BASH_SOURCE[0]}" )" && pwd )"
PLACE=$(pwd)

echo "=== Fetch ThreeJS"
cd $PLACE/../../three.js
git checkout master
git pull --all
git checkout dev
git pull

echo "=== Fetch BabylonJS"
cd $PLACE/../../Babylon.js
git checkout master
git pull --all

echo "=== Fetch flatbuffers"
cd $PLACE/../../flatbuffers
git checkout master
git pull --all

echo "=== Fetch Basil-protocol"
cd $PLACE/../../Basil-protocol
checkout master
git pull --all

echo "=== Build stubs for Basil-protocol"
./makeStubs.sh

echo "=== Copy libraries into BasilJS"
cd $PLACE
./copyLibs.sh




Add some output for the different update steps (which library is being loaded). Fetch and copy FlatBuffer library.
Add some output for the different update steps (which library is being loaded).
Fetch and copy FlatBuffer library.
