mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
Refactor stage execution to use method references for improved clarity
This commit is contained in:
parent
808aed2a66
commit
ac01867e9c
@ -211,9 +211,9 @@ class PhpExtensionPackage extends Package
|
||||
{
|
||||
$env = $this->getSharedExtensionEnv();
|
||||
|
||||
$this->runStage('phpizeForUnix', ['env' => $env]);
|
||||
$this->runStage('configureForUnix', ['env' => $env]);
|
||||
$this->runStage('makeForUnix', ['env' => $env]);
|
||||
$this->runStage([$this, 'phpizeForUnix'], ['env' => $env]);
|
||||
$this->runStage([$this, 'configureForUnix'], ['env' => $env]);
|
||||
$this->runStage([$this, 'makeForUnix'], ['env' => $env]);
|
||||
|
||||
// process *.so file
|
||||
$soFile = BUILD_MODULES_PATH . '/' . $this->getExtensionName() . '.so';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user