23 lines
610 B
PHP
Executable file
23 lines
610 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
/**
|
|
* PHPCI - Continuous Integration for PHP
|
|
*
|
|
* @copyright Copyright 2013, Block 8 Limited.
|
|
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
|
|
* @link http://www.phptesting.org/
|
|
*/
|
|
|
|
define('PHPCI_IS_CONSOLE', true);
|
|
|
|
require('bootstrap.php');
|
|
|
|
use PHPCI\Command\DaemoniseCommand;
|
|
use Symfony\Component\Console\Application;
|
|
|
|
$loggerConfig = \PHPCI\Logging\LoggerConfig::newFromFile(__DIR__ . "/loggerconfig.php");
|
|
|
|
$application = new Application();
|
|
$application->add(new DaemoniseCommand($loggerConfig->getFor('DaemoniseCommand')));
|
|
$application->run();
|