Update scripts for new thirdparty convention

This commit is contained in:
2025-04-14 14:56:21 -04:00
parent 77f1466ae3
commit eaae5f32ca
3 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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}'

Binary file not shown.