Initial commit - some engine bugs stopping compiling

This commit is contained in:
Will
2026-03-29 15:52:42 +01:00
commit 3d573a200e
361 changed files with 332759 additions and 0 deletions

44
third-party/glad/utility/bump_version.sh vendored Executable file
View File

@@ -0,0 +1,44 @@
#!/bin/bash -e
if [ -z "$1" ]; then
echo "No version supplied"
exit 1
fi
VERSION="$1"
VERSION_PYTHON="__version__ = '${VERSION}'"
OLD_VERSION=$(python -c "import glad; print(glad.__version__)")
echo "Old Version: $OLD_VERSION"
echo "New Version: $VERSION"
echo
if [ "$VERSION" == "$OLD_VERSION" ]
then
echo "Version equals the old version"
exit 1
fi
echo "Python: $VERSION_PYTHON"
read -p "Do you want to update to version $VERSION? [y/n]: " -n 1 -r
echo
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
echo "Aborted"
exit 1
fi
echo -e "\n$VERSION_PYTHON\n" > glad/__init__.py
git commit -am "setup: Bumped version: $VERSION."
git tag "v$VERSION"
rm -rf build/
rm -rf dist/
python -m build
twine upload dist/*