switch to 'install' by default and use composer.lock

This commit is contained in:
Andy Miller
2015-08-28 10:59:54 -06:00
parent a19e20e347
commit 826fa8e225
3 changed files with 1013 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,5 +1,4 @@
# Composer
composer.lock
.composer
vendor/

1012
composer.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -68,7 +68,7 @@ class ComposerCommand extends Command
{
$this->setupConsole($input, $output);
$action = 'update';
$action = $input->getOption('install') ? 'install' : ($input->getOption('update') ? 'update' : 'install');
if ($input->getOption('install')) {
$action = 'install';