zig-glfw/update-upstream.sh
Stephen Gutekanst d0cf9fccf2 glfw: cleanup vulkan_headers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-10-24 05:20:30 -07:00

24 lines
586 B
Bash
Executable file

#!/usr/bin/env bash
set -ex
# GLFW
rm -rf upstream/
mkdir upstream/
cd upstream/
git clone 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
rm cmake_uninstall.cmake.in README.md
rm -r CMake* deps/ examples/ tests/ docs/
rm src/CMakeLists.txt src/*.in
# Vulkan headers
cd ..
git clone https://github.com/KhronosGroup/Vulkan-Headers vulkan_headers/
cd vulkan_headers
rm -rf .git registry/ *.gn *.txt *.md cmake/
rm -rf include/vk_video
rm .cmake-format.py .gitattributes .gitignore