2011-04-05 15:37:19 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Composer.
|
|
|
|
*
|
|
|
|
* (c) Nils Adermann <naderman@naderman.de>
|
2011-10-27 20:08:46 +00:00
|
|
|
* Jordi Boggiano <j.boggiano@seld.be>
|
2011-04-05 15:37:19 +00:00
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
2012-02-05 20:23:52 +00:00
|
|
|
if ((!$loader = @include __DIR__.'/../../../.composer/autoload.php') && (!$loader = @include __DIR__.'/../vendor/.composer/autoload.php')) {
|
|
|
|
die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
|
|
|
|
'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
|
|
|
|
'php composer.phar install'.PHP_EOL);
|
|
|
|
}
|
|
|
|
|
2011-12-19 14:15:27 +00:00
|
|
|
$loader = require __DIR__.'/../vendor/.composer/autoload.php';
|
2011-11-20 14:06:12 +00:00
|
|
|
$loader->add('Composer\Test', __DIR__);
|
|
|
|
$loader->register();
|