mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 07:45:39 +08:00
Add DirDiff utility and enhance package build process
- Introduced DirDiff class for tracking directory file changes. - Updated ConsoleApplication to use addCommand for build targets. - Enhanced PackageBuilder with methods for deploying binaries and extracting debug info. - Improved package installation logic to support shared extensions. - Added readline extension with patching for static builds.
This commit is contained in:
@@ -35,10 +35,11 @@ class ConsoleApplication extends Application
|
||||
// only add target that contains artifact.source
|
||||
if ($package->hasStage('build')) {
|
||||
logger()->debug("Registering build target command for package: {$name}");
|
||||
$this->add(new BuildTargetCommand($name));
|
||||
$this->addCommand(new BuildTargetCommand($name));
|
||||
}
|
||||
}
|
||||
|
||||
// add core commands
|
||||
$this->addCommands([
|
||||
new DownloadCommand(),
|
||||
new DoctorCommand(),
|
||||
|
||||
Reference in New Issue
Block a user