1
0
Fork 0

Better reporting during installation

pull/1/head
Jordi Boggiano 2011-06-05 22:09:30 +02:00
parent 04783d5c30
commit 14fdd4384a
1 changed files with 3 additions and 1 deletions

View File

@ -52,6 +52,7 @@ class InstallCommand
$downloader = $composer->getDownloader($package->getSourceType());
$installer = $composer->getInstaller($package->getType());
$lock[$name] = $installer->install($package, $downloader);
echo '> '.$name.' installed'.PHP_EOL;
}
$this->storeLockFile($lock);
@ -71,6 +72,7 @@ class InstallCommand
protected function storeLockFile(array $content)
{
file_put_contents('composer.lock', json_encode($content));
file_put_contents('composer.lock', json_encode($content)."\n");
echo '> composer.lock dumped'.PHP_EOL;
}
}