Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. @echo off
  2. SET branch=4.14
  3. SET project=%cd%\MyProject.uproject
  4.  
  5. C:
  6. IF EXIST C:\UnrealEngines\win-%branch% GOTO UPDATEENGINE
  7.  
  8. :CLONEENGINE
  9. echo Cloning engine...
  10. mkdir C:\UnrealEngines\win-%branch%
  11. cd\UnrealEngines\win-%branch%
  12. git clone -b %branch% git@github.com:getsetgames/UnrealEngine.git .
  13. git submodule update --init --recursive
  14.  
  15. call Setup.bat --force
  16.  
  17. :UPDATEENGINE
  18. echo Updating engine...
  19. cd\UnrealEngines\win-%branch%
  20. git fetch origin
  21. git pull origin %branch%
  22. git submodule update --init --recursive
  23.  
  24. Engine\Binaries\DotNET\GitDependencies.exe --force
  25.  
  26. :BUILDEDITOR
  27. echo Building editor...
  28. call Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="%project%" -Win64 -clientconfig=Development -build
  29.  
  30. :ASSOCIATEENGINE
  31. attrib -R %project%
  32. C:\UnrealEngines\win-%branch%\Engine\Binaries\Win64\UnrealVersionSelector-Win64-Shipping.exe -switchversion %project%
  33. svn cl ignore-on-commit %project%
  34.  
  35. echo Update complete.
  36. pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement