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