Files
UnrealEngineUWP/Engine/Build/BatchFiles/SyncToRemotePC.bat
Ben Marsh 99be00dcdb Merging latest from Private-Starship.
[CL 13192225 by Ben Marsh in ue5-main branch]
2020-05-05 18:50:52 -04:00

24 lines
610 B
Batchfile
Executable File

@echo off
setlocal
if "%1" == "" (
echo Usage: SyncToRemotePC RemotePath GameName [-full]
goto :eof
)
set REMOTEPATH=%1
set GAMENAME=%2
set OPTION=%3
set ENGINEPATH=%REMOTEPATH%\Engine
set GAMEPATH=%REMOTEPATH%\%GAMENAME%
set XCOPYFLAGS=/i /y /d /s /exclude:Build\BatchFiles\SyncToRemotePC.exclude
xcopy Binaries %ENGINEPATH%\Binaries %XCOPYFLAGS%
xcopy ..\%GAMENAME%\Binaries %GAMEPATH%\Binaries %XCOPYFLAGS%
if "%OPTION%" NEQ "-full" goto :EOF
xcopy Shaders %ENGINEPATH%\Shaders %XCOPYFLAGS%
xcopy . %ENGINEPATH% %XCOPYFLAGS%
xcopy ..\%GAMENAME% %GAMEPATH% %XCOPYFLAGS%