Browse Source

Fix version

Thomas Rabaix 13 years ago
parent
commit
2dfa1d395e
2 changed files with 7 additions and 4 deletions
  1. 6 3
      Resources/doc/reference/installation.rst
  2. 1 1
      Tests/tests/vendors.php

+ 6 - 3
Resources/doc/reference/installation.rst

@@ -25,16 +25,19 @@ in your ``deps`` file:
 .. code-block:: ini
 
   [SonataAdminBundle]
-      git=http://github.com/sonata-project/SonataAdminBundle.git
+      git=git://github.com/sonata-project/SonataAdminBundle.git
       target=/bundles/Sonata/AdminBundle
+      version=origin/2.0
 
   [SonataBlockBundle]
-      git=http://github.com/sonata-project/SonataBlockBundle.git
+      git=git://github.com/sonata-project/SonataBlockBundle.git
       target=/bundles/Sonata/BlockBundle
+      version=origin/2.0
 
   [SonataCacheBundle]
-      git=http://github.com/sonata-project/SonataCacheBundle.git
+      git=git://github.com/sonata-project/SonataCacheBundle.git
       target=/bundles/Sonata/CacheBundle
+      version=origin/2.0
 
   [SonatajQueryBundle]
       git=http://github.com/sonata-project/SonatajQueryBundle.git

+ 1 - 1
Tests/tests/vendors.php

@@ -9,7 +9,7 @@ if (!is_dir($vendorDir)) {
 }
 
 $deps = array(
-    array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/master'),
+    array('symfony', 'git://github.com/symfony/symfony.git', isset($_SERVER['SYMFONY_VERSION']) ? $_SERVER['SYMFONY_VERSION'] : 'origin/2.0'),
     array('knpmenu', 'git://github.com/KnpLabs/KnpMenu.git', 'origin/master'),
     array('twig', 'git://github.com/fabpot/Twig.git', '1.6.1'),
     array('exporter', 'git://github.com/sonata-project/exporter.git', 'origin/master'),