Various updates to scripts

This commit is contained in:
Edward R. Gonzalez 2023-03-30 19:33:46 -04:00
parent f9b8f02351
commit a0a3e42e6a
3 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
if ($PSVersionTable.PSEdition -ne "Core")
if ($Host.UI.RawUI -and $Host.UI.RawUI.CursorPosition)
{
$Host.UI.RawUI.CursorPosition = @{X=0; Y=0}
cls
}
@ -80,6 +80,8 @@ if ( $test -eq $true )
$args_ninja += "-C"
$args_ninja += $path_test_build
Start-Process ninja $args_ninja -Wait -NoNewWindow -WorkingDirectory $path_test
write-host $args_ninja
Start-Process ninja $args_ninja -Wait -NoNewWindow -WorkingDirectory $path_root
#endregion Test Build
}

View File

@ -18,4 +18,7 @@ if ( Test-Path $path_test_build )
$files = Get-ChildItem -Recurse -Path $path_test -Include $include -Exclude $exclude
Remove-Item $files
if ( $files )
{
Remove-Item $files
}

View File

@ -46,7 +46,7 @@ if ( $false ){
}
else {
$refactorParams = @(
"-debug",
# "-debug",
"-num=$($targetFiles.Count)"
"-src=$($targetFiles)",
"-dst=$($refactoredFiles)",
@ -86,7 +86,7 @@ foreach ( $file in $targetFiles )
}
$refactorParams = @(
"-debug",
# "-debug",
"-num=$($targetFiles.Count)"
"-src=$($targetFiles)",
"-dst=$($refactoredFiles)",