blob: 944b91aebbd3a58b993bab74e8542cdc74047fb1 [file] [log] [blame]
#!/bin/sh
set -e
IMGUI_REPO=https://github.com/ocornut/imgui
IMGUI_STABLE_BRANCH=master
if [ ! -d imgui ]; then
echo "Cloning ImGui."
git clone $IMGUI_REPO
fi
cd imgui && git checkout $IMGUI_STABLE_BRANCH && git fetch && git pull