From 89d095a14fb0298b27abbe724733746f54a7c145 Mon Sep 17 00:00:00 2001 From: Ian Harrigan Date: Mon, 17 Jun 2024 08:40:54 +0200 Subject: [PATCH] fix casing of "project.xml" --- cli/projects/openfl-shared/project.json | 2 +- cli/src/builds/openfl/OpenFLBuild.hx | 4 ++-- cli/src/descriptors/OpenFlApplicationXml.hx | 2 +- .../openfl-flash-develop/openfl.hxproj | 2 +- run.n | Bin 278918 -> 278918 bytes 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cli/projects/openfl-shared/project.json b/cli/projects/openfl-shared/project.json index fc3881913..6b0da6e9b 100644 --- a/cli/projects/openfl-shared/project.json +++ b/cli/projects/openfl-shared/project.json @@ -2,6 +2,6 @@ "name": "openfl-shared", "type": "template", "templates": [ - { "src": "Project.xml", "dst": "${target}/Project.xml"} + { "src": "project.xml", "dst": "${target}/project.xml"} ] } diff --git a/cli/src/builds/openfl/OpenFLBuild.hx b/cli/src/builds/openfl/OpenFLBuild.hx index 4afd700a2..7a5b3c250 100644 --- a/cli/src/builds/openfl/OpenFLBuild.hx +++ b/cli/src/builds/openfl/OpenFLBuild.hx @@ -4,7 +4,7 @@ import builds.ProcessBuild; class OpenFLBuild extends ProcessBuild { public function new() { - super("openfl", ["Project.xml"]); + super("openfl", ["project.xml"]); } private override function args(params:Params):Array { @@ -18,6 +18,6 @@ class OpenFLBuild extends ProcessBuild { } else if (Util.mapContains("android", params.additional)) { target = "android"; } - return ["build", "Project.xml", target]; + return ["build", "project.xml", target]; } } \ No newline at end of file diff --git a/cli/src/descriptors/OpenFlApplicationXml.hx b/cli/src/descriptors/OpenFlApplicationXml.hx index b2fad19d6..a17d66456 100644 --- a/cli/src/descriptors/OpenFlApplicationXml.hx +++ b/cli/src/descriptors/OpenFlApplicationXml.hx @@ -33,7 +33,7 @@ class OpenFlApplicationXml extends Descriptor { public override function find(path:String):Bool { var contents = FileSystem.readDirectory(path); for (c in contents) { - if (FileSystem.isDirectory(path + "/" + c) == false && c == "Project.xml") { + if (FileSystem.isDirectory(path + "/" + c) == false && c == "project.xml") { load(path + "/" + c); return true; } diff --git a/cli/templates/openfl-flash-develop/openfl.hxproj b/cli/templates/openfl-flash-develop/openfl.hxproj index 6c18c30b2..6c7a82f60 100644 --- a/cli/templates/openfl-flash-develop/openfl.hxproj +++ b/cli/templates/openfl-flash-develop/openfl.hxproj @@ -4,7 +4,7 @@ - + diff --git a/run.n b/run.n index 3ec7ac91801eb109abb563fa773f744d15b7e8e2..b050b9af1769b79c4255050882f2f8dbe424d68f 100644 GIT binary patch delta 41 vcmZo`7Hn%4+;BsZv0(E}$>g-j@+lmXxsz3!GaK478yJC@X?tb^v+O|tQfCjz delta 41 vcmZo`7Hn%4+;BsZF<|pe$>cP~fXTKE@{9q^u?_994U9m{v^}