From b3e36ef77b4eba845af11bb066c40181ce3d9d58 Mon Sep 17 00:00:00 2001 From: Jacob Date: Thu, 7 Mar 2024 09:44:46 +0100 Subject: [PATCH] scripts: Drop support for grabbing v3.2 upstream Fixes #397 --- scripts/glfw_tree_rebuild.sh | 2 +- scripts/grab-upstream.sh | 37 +----------------------------------- 2 files changed, 2 insertions(+), 37 deletions(-) diff --git a/scripts/glfw_tree_rebuild.sh b/scripts/glfw_tree_rebuild.sh index 191dfd71..4f87a8f2 100755 --- a/scripts/glfw_tree_rebuild.sh +++ b/scripts/glfw_tree_rebuild.sh @@ -14,4 +14,4 @@ git add glfw HASH=$(git write-tree) rm $GIT_INDEX_FILE -sed -Ei 's/const upstreamTreeSHA = "[0-9a-f]+"/const upstreamTreeSHA = "'${HASH}'"/' glfw_tree_rebuild.go \ No newline at end of file +sed -Ei 's/const upstreamTreeSHA = "[0-9a-f]+"/const upstreamTreeSHA = "'${HASH}'"/' glfw_tree_rebuild.go diff --git a/scripts/grab-upstream.sh b/scripts/grab-upstream.sh index 841d6d0c..e93b873d 100755 --- a/scripts/grab-upstream.sh +++ b/scripts/grab-upstream.sh @@ -16,8 +16,7 @@ excludes=( --exclude=glfw-*/CMakeLists.txt --exclude=glfw-*/docs --exclude=glfw-*/examples - # Deleted later because it is needed for patches: - # --exclude=glfw-*/README.md + --exclude=glfw-*/README.md --exclude=glfw-*/CONTRIBUTORS.md --exclude=glfw-*/src/*.in --exclude=glfw-*/src/CMakeLists.txt @@ -58,38 +57,6 @@ EOF done } -# v3.2 -{ - grab-upstream v3.2/glfw - - cat > v3.2/glfw/glfw/deps/dummy.go <