mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-02 14:25:41 +08:00
Add cli, cgi, micro output
This commit is contained in:
@@ -689,6 +689,13 @@ C_CODE;
|
||||
|
||||
$builder->deployBinary($src_file, $dst_file);
|
||||
|
||||
$output_label = match ($sapi) {
|
||||
'php-cli' => 'Binary path for cli SAPI',
|
||||
'php-cgi' => 'Binary path for cgi SAPI',
|
||||
'php-micro' => 'Binary path for micro SAPI',
|
||||
};
|
||||
$package->setOutput($output_label, $dst_file);
|
||||
|
||||
// copy .pdb debug info file
|
||||
if ($builder->getOption('no-strip', false) && file_exists("{$src[0]}\\{$src[2]}")) {
|
||||
FileSystem::createDir($debug_dir);
|
||||
|
||||
Reference in New Issue
Block a user