diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index 0fc9d41..06329cb 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -59,12 +59,18 @@ class Install extends Command $this->info('>> Installing and preparing dependencies...'); + $progress = $this->output->createProgressBar(3); try { $composer->mustRun(); + $progress->advance(); + $npm->mustRun(); + $progress->advance(); + $npmBuild->mustRun(); + $progress->advance(); } catch(ProcessFailedException $pfe) { @@ -73,6 +79,11 @@ class Install extends Command return false; } + finally + { + $progress->finish(); + } + $settings = [];