Commit 58b132d1 authored by Mohamed Said's avatar Mohamed Said

workaround to install dev

parent 09fab8bb
This diff is collapsed.
...@@ -65,6 +65,12 @@ class NewCommand extends Command ...@@ -65,6 +65,12 @@ class NewCommand extends Command
$composer.' run-script post-create-project-cmd', $composer.' run-script post-create-project-cmd',
]; ];
if ($input->getOption('dev')) {
unset($commands[2]);
$commands[] = $composer.' run-script post-autoload-dump';
}
if ($input->getOption('no-ansi')) { if ($input->getOption('no-ansi')) {
$commands = array_map(function ($value) { $commands = array_map(function ($value) {
return $value.' --no-ansi'; return $value.' --no-ansi';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment