glfw: make update-upstream.sh clone faster (#132)

This commit is contained in:
Ali Chraghi 2021-12-22 04:55:51 +03:30 committed by GitHub
parent 62fbf78f9a
commit 6866fce4ee
Failed to generate hash of commit

View file

@ -5,9 +5,8 @@ set -ex
rm -rf upstream/
mkdir upstream/
cd upstream/
git clone https://github.com/glfw/glfw
git clone --depth 1 --branch 3.3.4 https://github.com/glfw/glfw
cd glfw/
git checkout 3.3.4
# Remove non-C files
rm -rf .appveyor.yml .git .gitattributes .gitignore .mailmap .travis.yml