Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Aug 12, 2024
1 parent a204e2b commit 7617a36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Console/DevToolCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function handle(Filesystem $filesystem)
{
$workingPath = package_path();

if ($this->option('install') === true) {
if ($this->option('install') === true && $this->option('skip-install') === false) {
$this->call('workbench:install', [
'--force' => $this->option('force'),
'--no-devtool' => true,
Expand Down Expand Up @@ -272,6 +272,9 @@ protected function getOptions()
return [
['force', 'f', InputOption::VALUE_NONE, 'Overwrite any existing files'],
['install', null, InputOption::VALUE_NEGATABLE, 'Run Workbench installation'],

/** @deprecated */
['skip-install', null, InputOption::VALUE_NONE, 'Skipped Workbench installation'],
];
}
}

0 comments on commit 7617a36

Please sign in to comment.