mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
move option rebuild add position
This commit is contained in:
parent
c225aeffed
commit
37b9704fbb
@ -23,7 +23,6 @@ class BuildCliCommand extends BuildCommand
|
|||||||
{
|
{
|
||||||
$this->addArgument('extensions', InputArgument::REQUIRED, 'The extensions will be compiled, comma separated');
|
$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('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-micro', null, null, 'build micro');
|
||||||
$this->addOption('build-cli', null, null, 'build cli');
|
$this->addOption('build-cli', null, null, 'build cli');
|
||||||
$this->addOption('build-fpm', null, null, 'build fpm');
|
$this->addOption('build-fpm', null, null, 'build fpm');
|
||||||
|
|||||||
@ -30,5 +30,6 @@ abstract class BuildCommand extends BaseCommand
|
|||||||
|
|
||||||
$this->addOption('with-clean', null, null, 'fresh build, remove `source` dir before `make`');
|
$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('bloat', null, null, 'add all libraries into binary');
|
||||||
|
$this->addOption('rebuild', 'r', null, 'Delete old build and rebuild');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -20,7 +20,6 @@ class BuildLibsCommand extends BuildCommand
|
|||||||
$this->addArgument('libraries', InputArgument::REQUIRED, 'The libraries will be compiled, comma separated');
|
$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('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('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
|
public function initialize(InputInterface $input, OutputInterface $output): void
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user