Pārlūkot izejas kodu

Remove obsolete vendors.php

Olivier Paradis 13 gadi atpakaļ
vecāks
revīzija
7ec413b7c2
1 mainītis faili ar 0 papildinājumiem un 29 dzēšanām
  1. 0 29
      Tests/tests/vendors.php

+ 0 - 29
Tests/tests/vendors.php

@@ -1,29 +0,0 @@
-#!/usr/bin/env php
-<?php
-
-set_time_limit(0);
-
-$vendorDir = __DIR__.'/../../vendor';
-if (!is_dir($vendorDir)) {
-  mkdir($vendorDir);
-}
-
-$deps = array(
-    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'),
-);
-
-foreach ($deps as $dep) {
-    list($name, $url, $rev) = $dep;
-
-    echo "> Installing/Updating $name\n";
-
-    $installDir = $vendorDir.'/'.$name;
-    if (!is_dir($installDir)) {
-        system(sprintf('git clone --quiet %s %s', escapeshellarg($url), escapeshellarg($installDir)));
-    }
-
-    system(sprintf('cd %s && git fetch origin && git reset --hard %s', escapeshellarg($installDir), escapeshellarg($rev)));
-}