refactor DependencyUtil, use for-libs and for-sources instead of by

This commit is contained in:
crazywhalecc
2024-02-16 18:56:33 +08:00
parent 1e898d271d
commit 939db75268
7 changed files with 145 additions and 169 deletions

View File

@@ -59,7 +59,7 @@ class AllExtCommand extends BaseCommand
}
try {
[, $libraries, $not_included] = DependencyUtil::getExtLibsByDeps([$extension]);
[, $libraries, $not_included] = DependencyUtil::getExtsAndLibs([$extension]);
} catch (WrongUsageException) {
$libraries = $not_included = [];
}