updates to scripts

This commit is contained in:
2024-07-01 00:39:41 -04:00
parent 53d86daf0a
commit b24699407e
5 changed files with 87 additions and 24 deletions

View File

@@ -1,18 +1,21 @@
$devshell = Join-Path $PSScriptRoot 'devshell.ps1'
& $devshell -arch amd64
$path_root = git rev-parse --show-toplevel
$path_backend = join-path $path_backend 'backend'
$path_binaries = join-path $path_bin 'binaries'
$path_scripts = join-path $path_root 'scripts'
$path_thirdparty = join-path $path_root 'thirdparty'
$path_root = '../..'
$path_backend = join-path $path_root 'backend'
$path_build = join-path $path_root 'build'
$path_scripts = join-path $path_root 'scripts'
$path_thirdparty = join-path $path_root 'thirdparty'
$path_sokol = Join-Path $path_thirdparty 'sokol'
if (test-path $path_sokol)
$path_sokol = join-path $path_thirdparty 'sokol'
$path_sokol_examples = join-path $path_sokol 'examples'
if ( (test-path $path_sokol) -and (test-path "$path_sokol/sokol") )
{
Move-Item -Path "$path_sokol/sokol/*" -Destination $path_sokol -Force
Remove-Item -Path $path_sokol -Recurse -Force
Remove-Item -Path $path_sokol_examples -Recurse -Force
Remove-Item -Path "$path_sokol/sokol" -Recurse -Force
Remove-Item -Path $path_sokol_examples -Recurse -Force
}
push-location $path_sokol
& '.\build_clibs_windows.cmd'
pop-location