Skip to content

Commit

Permalink
fix casing of "project.xml"
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Jun 17, 2024
1 parent 5dc4c93 commit 89d095a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cli/projects/openfl-shared/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "openfl-shared",
"type": "template",
"templates": [
{ "src": "Project.xml", "dst": "${target}/Project.xml"}
{ "src": "project.xml", "dst": "${target}/project.xml"}
]
}
4 changes: 2 additions & 2 deletions cli/src/builds/openfl/OpenFLBuild.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> {
Expand All @@ -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];
}
}
2 changes: 1 addition & 1 deletion cli/src/descriptors/OpenFlApplicationXml.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion cli/templates/openfl-flash-develop/openfl.hxproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<output>
<movie outputType="CustomBuild" />
<movie input="" />
<movie path="Project.xml" />
<movie path="project.xml" />
<movie fps="60" />
<movie width="800" />
<movie height="600" />
Expand Down
Binary file modified run.n
Binary file not shown.

0 comments on commit 89d095a

Please sign in to comment.