mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 18:05:36 +08:00
Allow all packages has output
This commit is contained in:
@@ -133,7 +133,8 @@ class PackageInstaller
|
|||||||
|
|
||||||
public function printBuildPackageOutputs(): void
|
public function printBuildPackageOutputs(): void
|
||||||
{
|
{
|
||||||
foreach ($this->build_packages as $package) {
|
/** @var Package $package */
|
||||||
|
foreach ($this->getResolvedPackages() as $package) {
|
||||||
if (($outputs = $package->getOutputs()) !== []) {
|
if (($outputs = $package->getOutputs()) !== []) {
|
||||||
InteractiveTerm::notice('Package ' . ConsoleColor::green($package->getName()) . ' outputs');
|
InteractiveTerm::notice('Package ' . ConsoleColor::green($package->getName()) . ' outputs');
|
||||||
$this->printArrayInfo(info: $outputs);
|
$this->printArrayInfo(info: $outputs);
|
||||||
@@ -685,6 +686,7 @@ class PackageInstaller
|
|||||||
if ($package->getBuildOption('build-all') || $package->getBuildOption('build-frankenphp')) {
|
if ($package->getBuildOption('build-all') || $package->getBuildOption('build-frankenphp')) {
|
||||||
$frankenphp = PackageLoader::getPackage('frankenphp');
|
$frankenphp = PackageLoader::getPackage('frankenphp');
|
||||||
$this->install_packages[$frankenphp->getName()] = $frankenphp;
|
$this->install_packages[$frankenphp->getName()] = $frankenphp;
|
||||||
|
$this->build_packages[$package->getName()] = $package;
|
||||||
$added = true;
|
$added = true;
|
||||||
}
|
}
|
||||||
$this->build_packages[$package->getName()] = $package;
|
$this->build_packages[$package->getName()] = $package;
|
||||||
|
|||||||
Reference in New Issue
Block a user