mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-06 16:25:39 +08:00
Add frankenphp build
This commit is contained in:
@@ -342,7 +342,11 @@ class php extends TargetPackage
|
||||
public function postInstall(TargetPackage $package, PackageInstaller $installer): void
|
||||
{
|
||||
if ($package->getName() === 'frankenphp') {
|
||||
$package->runStage([$this, 'smokeTestFrankenphpForUnix']);
|
||||
if (SystemTarget::getTargetOS() === 'Windows') {
|
||||
$package->runStage([$this, 'smokeTestFrankenphpForWindows']);
|
||||
} else {
|
||||
$package->runStage([$this, 'smokeTestFrankenphpForUnix']);
|
||||
}
|
||||
return;
|
||||
}
|
||||
if ($package->getName() !== 'php') {
|
||||
|
||||
Reference in New Issue
Block a user