Skip to content

Commit c671cfd

Browse files
committed
Add cli, cgi, micro output
1 parent 51b8a0c commit c671cfd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Package/Target/php/windows.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,13 @@ protected function deployWindowsBinary(PackageBuilder $builder, TargetPackage $p
689689

690690
$builder->deployBinary($src_file, $dst_file);
691691

692+
$output_label = match ($sapi) {
693+
'php-cli' => 'Binary path for cli SAPI',
694+
'php-cgi' => 'Binary path for cgi SAPI',
695+
'php-micro' => 'Binary path for micro SAPI',
696+
};
697+
$package->setOutput($output_label, $dst_file);
698+
692699
// copy .pdb debug info file
693700
if ($builder->getOption('no-strip', false) && file_exists("{$src[0]}\\{$src[2]}")) {
694701
FileSystem::createDir($debug_dir);

0 commit comments

Comments
 (0)