]> source.dussan.org Git - gitignore.git/commitdiff
Allow PakBlacklist-*.txt files inside Build dir 2316/head
authorgagallo7 <gagallo7@gmail.com>
Thu, 9 Mar 2017 13:56:06 +0000 (10:56 -0300)
committerGitHub <noreply@github.com>
Thu, 9 Mar 2017 13:56:06 +0000 (10:56 -0300)
The PakBlacklist-<BuildConfiguration>.txt is used to disallow some files to be packaged in the pak file.
This can be very helpful to reduce pak file size for mobile platforms.

To avoid the user-defined blueprint class Debug.uasset located in Content/Blueprints folder to be packaged in shipping build, one has to do the following steps:
1. Create the PakBlacklist-Shipping.txt file in Build/Android directory.
2. Insert the content "../../../MyGameName/Blueprints/Debug.uasset
3. Package the game

Source: https://docs.unrealengine.com/latest/INT/Platforms/Android/ReducingAPKSize/#packageblacklist

UnrealEngine.gitignore

index 2f096001fec469dce9316bf61f721564e0266d39..6c6e1c327fd14013499201427b940ee4598e2946 100644 (file)
@@ -54,6 +54,11 @@ Binaries/*
 # Builds
 Build/*
 
+# Whitelist PakBlacklist-<BuildConfiguration>.txt files
+!Build/*/
+Build/*/**
+!Build/*/PakBlacklist*.txt
+
 # Don't ignore icon files in Build
 !Build/**/*.ico