2011-04-17 22:39:28 +00:00
|
|
|
#!/usr/bin/env php
|
2011-04-17 22:14:44 +00:00
|
|
|
<?php
|
|
|
|
|
2012-02-05 20:23:52 +00:00
|
|
|
if ((!@include __DIR__.'/../../../.composer/autoload.php') && (!@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-10-31 22:39:19 +00:00
|
|
|
}
|
2011-04-17 22:14:44 +00:00
|
|
|
|
2011-11-30 20:30:51 +00:00
|
|
|
use Composer\Console\Application;
|
2011-04-17 22:14:44 +00:00
|
|
|
|
2011-09-14 12:57:40 +00:00
|
|
|
// run the command application
|
2011-11-30 20:30:51 +00:00
|
|
|
$application = new Application();
|
2011-09-14 12:57:40 +00:00
|
|
|
$application->run();
|