Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/Build.sh
Marc Audy bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00

23 lines
806 B
Bash
Executable File

#!/bin/bash
# Copyright Epic Games, Inc. All Rights Reserved.
# This script gets can be used to build and clean individual projects using UnrealBuildTool
set -e
cd "`dirname "$0"`/../../../.."
# Setup Environment and Mono
source Engine/Build/BatchFiles/Linux/SetupEnvironment.sh -dotnet Engine/Build/BatchFiles/Linux
# If this is a source drop of the engine make sure that the UnrealBuildTool is up-to-date
if [ ! -f Engine/Build/InstalledBuild.txt ]; then
if ! dotnet build Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj -c Development -v quiet; then
echo "Failed to build to build tool (UnrealBuildTool)"
exit 1
fi
fi
echo Running command : Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool "$@"
Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool "$@"
exit $?