Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/RunXBuild.sh
andrew grant a1a1845816 Adding -w to the grep (now -wi) in the bash script that builds UBT so it isn't triggered by warnings that involved a variable with 'Error' in its name.
(In my case it was 'Missing XML comment for publicly visible type or member 'ReadOnlyTargetRules.bUndefinedIdentifierErrors').

[FYI] ben.marsh


#ROBOMERGE-SOURCE: CL 11191147 via CL 11191149
#ROBOMERGE-BOT: (v640-11091645)

[CL 11191151 by andrew grant in Main branch]
2020-01-30 20:49:07 -05:00

29 lines
797 B
Bash
Executable File

#!/bin/bash
## Unreal Engine 4 XBuild setup script
## Copyright Epic Games, Inc. All Rights Reserved.
## This script is expecting to exist in the UE4/Engine/Build/BatchFiles directory. It will not work correctly
## if you copy it to a different location and run it.
echo
echo Running XBuild...
echo
source "`dirname "$0"`/SetupMono.sh" "`dirname "$0"`"
# put ourselves into Engine directory (two up from location of this script)
pushd "`dirname "$0"`/../../.."
if [ ! -f Build/BatchFiles/Linux/RunXBuild.sh ]; then
echo RunXBuild ERROR: The batch file does not appear to be located in the /Engine/Build/BatchFiles directory. This script must be run from within that directory.
exit 1
fi
xbuild /verbosity:quiet /nologo "$@" |grep -wi error
if [ $? -ne 1 ]; then
exit 1
else
exit 0
fi