refactor: MokoGiteaAdapter + manifest.xml primary lookup #32
@@ -47,11 +47,11 @@ foreach ($argv as $i => $arg) {
|
||||
$root = realpath($path) ?: $path;
|
||||
$manifestFile = null;
|
||||
|
||||
// Priority: .manifest.xml > .moko-platform (backward compat)
|
||||
// Priority: manifest.xml (current standard)
|
||||
$candidates = [
|
||||
"{$root}/.mokogitea/.manifest.xml",
|
||||
"{$root}/.mokogitea/.moko-platform",
|
||||
"{$root}/.mokogitea/.mokostandards", // legacy v4
|
||||
"{$root}/.mokogitea/manifest.xml",
|
||||
"{$root}/.mokogitea/.manifest.xml", // legacy (dot-prefixed)
|
||||
"{$root}/.mokogitea/.moko-platform", // legacy v4
|
||||
];
|
||||
|
||||
foreach ($candidates as $candidate) {
|
||||
|
||||
Reference in New Issue
Block a user