mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +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}");
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user