Permalink
Browse files

Upgraded Doctrine version to 2.1.4 [vendors]

  • Loading branch information...
1 parent 2b7fd1b commit 6ccc0f400008bd8ccceb75c72fbe5cf4b8caacd7 @fprochazka fprochazka committed Nov 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 vendors.php
View
@@ -18,7 +18,7 @@
$deps = array(
array('nette', 'http://github.com/nette/nette.git', 'origin/HEAD'),
array('symfony', 'http://github.com/symfony/symfony.git', 'v2.0.6'),
- array('doctrine', 'http://github.com/doctrine/doctrine2.git', '2.1.2'),
+ array('doctrine', 'http://github.com/doctrine/doctrine2.git', '2.1.4'),
array('doctrine-dbal', 'http://github.com/doctrine/dbal.git', '2.1.3'),
array('doctrine-common', 'http://github.com/doctrine/common.git', '2.1.2'),
array('doctrine-data-fixtures', 'http://github.com/doctrine/data-fixtures.git', 'origin/HEAD'),
@@ -34,10 +34,10 @@
$installDir = $vendorDir . '/' . $name;
if (!is_dir($installDir)) {
- echo "> Installing $name\n";
+ echo "$ install $name\n";
system(sprintf('git clone %s %s', escapeshellarg($url), escapeshellarg($installDir)));
}
- echo "> Updating $name\n";
+ echo "$ update $name\n";
system(sprintf('cd %s && git fetch origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev)));
}

0 comments on commit 6ccc0f4

Please sign in to comment.