add strip option (fix #97)

This commit is contained in:
crazywhalecc 2023-07-27 18:42:05 +08:00 committed by Jerry Ma
parent 50632f6527
commit b698ae2f50

View File

@ -71,7 +71,7 @@ class BuildCliCommand extends BuildCommand
// 执行扩展检测
$builder->proveExts($extensions);
// strip
$builder->setStrip(false);
$builder->setStrip(!$this->getOption('no-strip'));
// 构建
$builder->buildPHP($rule, $this->getOption('bloat'));
// 统计时间