Surgo/scripts/horde_build.ps1

24 lines
760 B
PowerShell
Raw Normal View History

Clear-Host
$path_scripts = $PSScriptRoot
$path_helpers = join-path $path_scripts 'helpers'
$path_root = split-path -Parent -Path $path_scripts
$path_ue = join-path $path_root 'UE'
$path_project = join-path $path_root 'Project'
$surgo_uproject = join-path $path_project 'Surgo.uproject'
$UBT = join-path $path_ue 'Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.exe'
$fubt_project = '-project'
$fubt_projectfiles = '-projectfiles'
$fubt_game = '-game'
$fubt_engine = '-engine'
$fubt_progress = '-progress'
$UAT = join-path $path_ue '\Engine\Build\BatchFiles\RunUAT.bat'
Push-Location $path_ueHordeServer
& $UAT BuildGraph -Script="Engine/Source/Programs/Horde/BuildHorde.xml" -Target="Build HordeServer"
Pop-Location