1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00
composer/bin/compile
2012-02-05 21:23:52 +01:00

13 lines
425 B
PHP
Executable file

#!/usr/bin/env php
<?php
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);
}
use Composer\Compiler;
$compiler = new Compiler();
$compiler->compile();