Created
May 5, 2022 23:33
-
-
Save douglaslassance/946ff5637740807052b2a3d3522bbd00 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
pushd "%~dp0" | |
rem Setting up repository. | |
git submodule update --init --recursive | |
git config core.hooksPath .hooks | |
rem Doing those globally so they affect submodules. | |
git config --global pull.rebase true | |
git config --global rebase.autoStash true | |
rem Installing Gitalong. | |
pip install gitalong | |
rem Installing LFS. | |
rem A manual install result in not copying the LFS hooks that we already have. | |
git lfs install --manual | |
if %errorlevel% neq 0 exit /b %errorlevel% | |
rem Get the dependencies for the first time | |
.\Engine\Binaries\DotNET\GitDependencies.exe --no-cache --exclude=Samples --exclude=Templates --exclude=FeaturePacks --exclude=Engine/Documentation --exclude=Engine/Saved --exclude=Win32 --exclude=win32 --exclude=Mac --exclude=osx64 --exclude=osx32 --exclude=iOS --exclude=IOS --exclude=ios --exclude=Linux --exclude=linux --exclude=Linux32 --exclude=linux32 --exclude=Linux64 --exclude=linux64 --exclude=linux_x64 --exclude=Android --exclude=android --exclude=HoloLens --exclude=TVOS --exclude=Win32 --exclude=WinRT --exclude=winrt --exclude=HTML5 --exclude=html5 --exclude=XboxOne --exclude=Switch --exclude=Dingo --exclude=PS4 | |
if %errorlevel% neq 0 exit /b %errorlevel% | |
rem Install prerequisites. | |
start /wait Engine\Extras\Redist\en-us\UEPrereqSetup_x64.exe /quiet | |
if %errorlevel% neq 0 exit /b %errorlevel% | |
rem Building UnrealBuildTools | |
dotnet msbuild /restore /target:build /property:Configuration=Development Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.csproj | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment