forked from shadowmint/ue4-bash-scripts
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpack.sh
More file actions
executable file
·34 lines (24 loc) · 766 Bytes
/
pack.sh
File metadata and controls
executable file
·34 lines (24 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env bash
set -e
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
. "$DIR/common/config.source"
DIST="$PROJECTS/$1/ArchivedBuilds/Development"
mkdir -p $DIST
# MODE=Shipping
MODE=Development
PLATFORM="Mac"
echo MODE: $MODE
echo DIST: $DIST
echo PLATFORM: $PLATFORM
CAPITAL=$(capital "$1")
UPROJECT="$CAPITAL.uproject"
"$UE4/Engine/Build/BatchFiles/RunUAT.sh" BuildCookRun \
-project="$PROJECTS/$1/$UPROJECT" \
-nocompileeditor -nop4 \
-cook -stage -archive -archivedirectory="$DIST" \
-package -clientconfig="$MODE" -ue4exe=UE4Editor \
-compressed -clean -pak -prereqs -nodebuginfo \
-targetplatform="$PLATFORM" -build -utf8output \
-messaging \
-installed -SkipCookingEditorContent -manifests \
"${@:2}"