You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
362 B
PHP
18 lines
362 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
require __DIR__.'/../src/bootstrap.php';
|
|
|
|
use Composer\Compiler;
|
|
|
|
error_reporting(-1);
|
|
ini_set('display_errors', 1);
|
|
|
|
try {
|
|
$compiler = new Compiler();
|
|
$compiler->compile();
|
|
} catch (\Exception $e) {
|
|
echo 'Failed to compile phar: ['.get_class($e).'] '.$e->getMessage().' at '.$e->getFile().':'.$e->getLine();
|
|
exit(1);
|
|
}
|