compile 425 B

12345678910111213
  1. #!/usr/bin/env php
  2. <?php
  3. if ((!@include __DIR__.'/../../../.composer/autoload.php') && (!@include __DIR__.'/../vendor/.composer/autoload.php')) {
  4. die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
  5. 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
  6. 'php composer.phar install'.PHP_EOL);
  7. }
  8. use Composer\Compiler;
  9. $compiler = new Compiler();
  10. $compiler->compile();