Commit 4f263ede authored by Drew's avatar Drew

Fix non-standard info.plist paths

Resolve https://github.com/AnarchyTools/atbuild/issues/82

Note that the tool that was originally filed against is deprecated, and we won't fix this bug there.
parent c57d9d6d
......@@ -135,7 +135,8 @@ class PackageFramework {
catch SysError.FileExists { /* */ }
catch { fatalError("\(error)")}
for resource in resources {
try! FS.copyItem(from: Path(resource), to: resourcesPath + resource)
let dest = resourcesPath + Path(resource).basename()
try! FS.copyItem(from: Path(resource), to: dest)
}
if atbuildPlatform == "ios" {
try! FS.copyItem(from: Path(infoPlist), to: AVersionPath.appending("Info.plist"))
......
......@@ -31,7 +31,7 @@
}
:package {
:tool "shell"
:script "../../.atllbuild/products/package-framework --name FooFramework --info-plist Info.plist"
:script "../../.atllbuild/products/package-framework --name FooFramework --info-plist UnusualFolder/Info.plist"
:dependencies ["packageatbin"]
}
:check {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment