mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-07 22:25:45 -07:00
correctionns to gen_unreal_engine
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user