correctionns to gen_unreal_engine

This commit is contained in:
2024-12-10 13:57:12 -05:00
parent 0046c4a223
commit e3b3882443
4 changed files with 14 additions and 11 deletions

View File

@ -14,12 +14,11 @@ foreach ( $arg in $args )
$path_root = git rev-parse --show-toplevel
$path_project = Join-Path $path_root project
$path_scripts = Join-Path $path_root scripts
$path_singlheader = Join-Path $path_root singleheader
$path_singleheader_comp = Join-Path $path_singlheader components
$path_unreal = Join-Path $path_root unreal_engine
$path_helpers = Join-Path $path_scripts helpers
$path_unreal = Join-Path $path_root gen_unreal_engine
$path_unreal_gen = Join-Path $path_unreal gen
$file_spec = Join-Path $path_scripts unreal.refactor
$file_spec = Join-Path $path_unreal unreal.refactor
# Gather the files to be formatted.
$targetFiles = @()
@ -37,13 +36,14 @@ $formatParams = @(
write-host "Beginning refactor...`n"
$refactorParams = @(
# "-debug",
"-debug",
"-num=$($targetFiles.Count)"
"-src=$($targetFiles)",
"-spec=$($file_spec)"
)
& refactor $refactorParams
$refactor = join-path $path_helpers refactor.exe
& $refactor $refactorParams
Write-Host "`nRefactoring complete`n`n"