Skip to content

Commit

Permalink
back out feature
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 23, 2021
1 parent f243b00 commit 87c63c2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ class InstallCommand extends Command
*/
public function handle()
{
if ($this->option('services')) {
$services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services'));
} elseif ($this->option('no-interaction')) {
$services = ['mysql', 'redis', 'selenium', 'mailhog'];
} else {
$services = $this->gatherServicesWithSymfonyMenu();
}
// if ($this->option('services')) {
// $services = $this->option('services') == 'none' ? [] : explode(',', $this->option('services'));
// } elseif ($this->option('no-interaction')) {
// $services = ['mysql', 'redis', 'selenium', 'mailhog'];
// } else {
// $services = $this->gatherServicesWithSymfonyMenu();
// }

$services = ['mysql', 'redis', 'selenium', 'mailhog'];

$this->buildDockerCompose($services);
$this->replaceEnvVariables($services);
Expand Down

0 comments on commit 87c63c2

Please sign in to comment.