Run formatter
This commit is contained in:
@@ -280,7 +280,7 @@ class AndroidPlatform extends PlatformTarget
|
||||
var armv7 = (command == "rebuild" || ArrayTools.containsValue(project.architectures, Architecture.ARMV7));
|
||||
var arm64 = (command == "rebuild" || ArrayTools.containsValue(project.architectures, Architecture.ARM64));
|
||||
var x86 = (command == "rebuild" || ArrayTools.containsValue(project.architectures, Architecture.X86));
|
||||
var x64 = ( /*command == "rebuild" ||*/ ArrayTools.containsValue(project.architectures, Architecture.X64));
|
||||
var x64 = (/*command == "rebuild" ||*/ ArrayTools.containsValue(project.architectures, Architecture.X64));
|
||||
|
||||
var commands = [];
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ class HTML5Platform extends PlatformTarget
|
||||
|
||||
if (asset.type != AssetType.TEMPLATE)
|
||||
{
|
||||
if ( /*asset.embed != true &&*/ asset.type != AssetType.FONT)
|
||||
if (/*asset.embed != true &&*/ asset.type != AssetType.FONT)
|
||||
{
|
||||
dir = Path.directory(path);
|
||||
if (!createdDirectories.exists(dir))
|
||||
|
||||
@@ -682,12 +682,19 @@ class IOSPlatform extends PlatformTarget
|
||||
ProjectHelper.recursiveSmartCopyTemplate(project, "iphone/PROJ.xcodeproj", targetDirectory + "/" + project.app.file + ".xcodeproj", context, true,
|
||||
false);
|
||||
|
||||
//Merge plist files
|
||||
var plistFiles = System.readDirectory(projectDirectory).filter(function(fileName:String){
|
||||
// Merge plist files
|
||||
var plistFiles = System.readDirectory(projectDirectory).filter(function(fileName:String)
|
||||
{
|
||||
return fileName.substr(-11) == "-Info.plist" && fileName != projectDirectory + "/" + project.app.file + "-Info.plist";
|
||||
});
|
||||
for(plist in plistFiles){
|
||||
System.runCommand(project.workingDirectory, "/usr/libexec/PlistBuddy", ["-x", "-c", "Merge " + plist, projectDirectory + "/" + project.app.file + "-Info.plist"]);
|
||||
for (plist in plistFiles)
|
||||
{
|
||||
System.runCommand(project.workingDirectory, "/usr/libexec/PlistBuddy", [
|
||||
"-x",
|
||||
"-c",
|
||||
"Merge " + plist,
|
||||
projectDirectory + "/" + project.app.file + "-Info.plist"
|
||||
]);
|
||||
}
|
||||
|
||||
System.mkdir(projectDirectory + "/lib");
|
||||
|
||||
@@ -210,8 +210,9 @@ class WindowsPlatform extends PlatformTarget
|
||||
var command = #if lime "lime" #else "hxp" #end;
|
||||
|
||||
Log.warn("You must define HL_PATH to copy HashLink dependencies, please run '" + command + " setup hl' first");
|
||||
|
||||
}else{
|
||||
}
|
||||
else
|
||||
{
|
||||
System.copyFile(project.environment.get("HL_PATH") + '/ssl.hdll', applicationDirectory + '/ssl.hdll');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user