Remove _appinfo.json_ special case.
Two reasons: 1. This is how it always worked in practice. The old special case actually did nothing due to an oversight. 2. Per the principle of least astonishment, Lime should avoid messing with the user's assets. If they wanted it to be a template, they would have specified `type="template"`.
This commit is contained in:
@@ -237,14 +237,6 @@ class TizenPlatform extends PlatformTarget
|
||||
ProjectHelper.recursiveSmartCopyTemplate(project, "haxe", targetDirectory + "/haxe", context);
|
||||
ProjectHelper.recursiveSmartCopyTemplate(project, "tizen/hxml", targetDirectory + "/haxe", context);
|
||||
|
||||
for (asset in project.assets)
|
||||
{
|
||||
if (asset.targetPath == "/appinfo.json" || asset.targetPath == "appinfo.json")
|
||||
{
|
||||
asset.type = AssetType.TEMPLATE;
|
||||
}
|
||||
}
|
||||
|
||||
// going to root directory now, but should it be a forced "assets" folder later?
|
||||
copyProjectAssets(destination + "res/", "");
|
||||
// copyProjectAssets(destination + "res/", "assets");
|
||||
|
||||
Reference in New Issue
Block a user