move option rebuild add position

This commit is contained in:
crazywhalecc 2023-10-17 18:34:23 +08:00 committed by Jerry Ma
parent c225aeffed
commit 37b9704fbb
3 changed files with 1 additions and 2 deletions

View File

@ -23,7 +23,6 @@ class BuildCliCommand extends BuildCommand
{
$this->addArgument('extensions', InputArgument::REQUIRED, 'The extensions will be compiled, comma separated');
$this->addOption('with-libs', null, InputOption::VALUE_REQUIRED, 'add additional libraries, comma separated', '');
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
$this->addOption('build-micro', null, null, 'build micro');
$this->addOption('build-cli', null, null, 'build cli');
$this->addOption('build-fpm', null, null, 'build fpm');

View File

@ -30,5 +30,6 @@ abstract class BuildCommand extends BaseCommand
$this->addOption('with-clean', null, null, 'fresh build, remove `source` dir before `make`');
$this->addOption('bloat', null, null, 'add all libraries into binary');
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
}
}

View File

@ -20,7 +20,6 @@ class BuildLibsCommand extends BuildCommand
$this->addArgument('libraries', InputArgument::REQUIRED, 'The libraries will be compiled, comma separated');
$this->addOption('clean', null, null, 'Clean old download cache and source before fetch');
$this->addOption('all', 'A', null, 'Build all libs that static-php-cli needed');
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
}
public function initialize(InputInterface $input, OutputInterface $output): void