mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
fix no-strip
This commit is contained in:
@@ -145,11 +145,10 @@ abstract class UnixBuilderBase extends BuilderBase
|
|||||||
throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}");
|
throw new SPCInternalException("Deploy failed. Cannot find file after copy: {$dst}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// extract debug info
|
|
||||||
$this->extractDebugInfo($dst);
|
|
||||||
|
|
||||||
// strip
|
|
||||||
if (!$this->getOption('no-strip')) {
|
if (!$this->getOption('no-strip')) {
|
||||||
|
// extract debug info
|
||||||
|
$this->extractDebugInfo($dst);
|
||||||
|
// extra strip
|
||||||
$this->stripBinary($dst);
|
$this->stripBinary($dst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user