Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- SET branch=4.14
- SET project=%cd%\MyProject.uproject
- C:
- IF EXIST C:\UnrealEngines\win-%branch% GOTO UPDATEENGINE
- :CLONEENGINE
- echo Cloning engine...
- mkdir C:\UnrealEngines\win-%branch%
- cd\UnrealEngines\win-%branch%
- git clone -b %branch% git@github.com:getsetgames/UnrealEngine.git .
- git submodule update --init --recursive
- call Setup.bat --force
- :UPDATEENGINE
- echo Updating engine...
- cd\UnrealEngines\win-%branch%
- git fetch origin
- git pull origin %branch%
- git submodule update --init --recursive
- Engine\Binaries\DotNET\GitDependencies.exe --force
- :BUILDEDITOR
- echo Building editor...
- call Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="%project%" -Win64 -clientconfig=Development -build
- :ASSOCIATEENGINE
- attrib -R %project%
- C:\UnrealEngines\win-%branch%\Engine\Binaries\Win64\UnrealVersionSelector-Win64-Shipping.exe -switchversion %project%
- svn cl ignore-on-commit %project%
- echo Update complete.
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement