Build Scripts

These areĀ  bunch of simple scripts that I've put together to assist me in a few UE4 projects.

I'll update these when I use them enough times to generalise them!

Simple compile script.

It's for a Mac. This might help you write your own, maybe :-)

#!/bin/bash

export PROJECT_DIR=/Users/simon/Projects/Echo/Project

export ACTION=

export PLATFORM_NAME=macosx

export CONFIGURATION=DebugGame

cd /Users/Shared/UnrealEngine/4.9

/Users/Shared/UnrealEngine/4.9/Engine/Build/BatchFiles/Mac/RocketBuild.sh $ACTION ProjectEditor $PLATFORM_NAME $CONFIGURATION "$PROJECT_DIR/Project.uproject"

Simple clean scripts

Regular Project.

#!/bin/bash

rm -vrf Binaries Intermediate Saved Plugins/*/Intermediate

Plugins

#!/bin/bash

rm -vrf ./Plugins/*/Binaries ./Plugins/*/Intermediate

Run the debug editor from the command line

For OSX.

#!/bin/bash

open /Users/Shared/UnrealEngine/4.9//Engine/Binaries/Mac/UE4Editor.app --args '/Users/simon/Projects/Echo/Project/Project.uproject' -debug