From eaae5f32ca0519f80781df1787514a670c574ab2 Mon Sep 17 00:00:00 2001 From: ed_ Date: Mon, 14 Apr 2025 14:56:21 -0400 Subject: [PATCH] Update scripts for new thirdparty convention --- scripts/build_sokol_demo.ps1 | 1 - scripts/helpers/misc.ps1 | 4 ++++ thirdparty/stb/lib/stb_truetype.lib | Bin 947222 -> 947222 bytes 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build_sokol_demo.ps1 b/scripts/build_sokol_demo.ps1 index b0f7103..6f3ef94 100644 --- a/scripts/build_sokol_demo.ps1 +++ b/scripts/build_sokol_demo.ps1 @@ -44,7 +44,6 @@ $path_sokol_tools = join-path $path_thirdparty 'sokol-tools' $sokol_build_clibs_command = join-path $path_scripts 'build_sokol_library.ps1' -# clone-gitrepo $path_freetype $url_freetype clone-gitrepo $path_sokol_tools $url_sokol_tools Update-GitRepo -path $path_sokol -url $url_sokol -build_command $sokol_build_clibs_command diff --git a/scripts/helpers/misc.ps1 b/scripts/helpers/misc.ps1 index eeaf1a6..765973d 100644 --- a/scripts/helpers/misc.ps1 +++ b/scripts/helpers/misc.ps1 @@ -65,6 +65,10 @@ function Update-GitRepo write-host return } + + if ( -not(test-path -Path (join-path $path '.git'))) { + return # Assume the user doesn't want to use git grab packages automatically. + } git -C $path fetch $latest_commit_hash = git -C $path rev-parse '@{u}' diff --git a/thirdparty/stb/lib/stb_truetype.lib b/thirdparty/stb/lib/stb_truetype.lib index bb8942a8a787d50c2c69c6234f7cc56a5a686fff..4971a03a8486384cc437adfa2ef33f562892f766 100644 GIT binary patch delta 101 zcmbRC!gAUR%L($#mZnA@!L-;FH71LwX1goxc2^jIm@!L-;FH73{aX1goxc2^jIm