refactor: MokoGiteaAdapter + manifest.xml primary lookup (#32)
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 2s

This commit was merged in pull request #32.
This commit is contained in:
2026-05-21 22:19:49 +00:00
parent 46d9af0ff6
commit a706a2cc32
+4 -4
View File
@@ -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) {