2013-05-15 19:27:13 +02:00
|
|
|
#!/usr/bin/env php
|
|
|
|
<?php
|
2013-05-16 03:16:56 +02:00
|
|
|
/**
|
|
|
|
* PHPCI - Continuous Integration for PHP
|
|
|
|
*
|
2013-05-16 03:57:02 +02:00
|
|
|
* @copyright Copyright 2013, Block 8 Limited.
|
|
|
|
* @license https://github.com/Block8/PHPCI/blob/master/LICENSE.md
|
|
|
|
* @link http://www.phptesting.org/
|
2013-05-16 03:16:56 +02:00
|
|
|
*/
|
2013-05-15 19:27:13 +02:00
|
|
|
|
2013-10-10 02:01:06 +02:00
|
|
|
define('PHPCI_IS_CONSOLE', true);
|
2013-05-15 23:29:09 +02:00
|
|
|
|
2013-05-16 03:57:02 +02:00
|
|
|
require('bootstrap.php');
|
2013-05-15 23:29:09 +02:00
|
|
|
|
2013-05-15 19:27:13 +02:00
|
|
|
use PHPCI\Command\RunCommand;
|
|
|
|
use PHPCI\Command\GenerateCommand;
|
2013-10-08 08:45:20 +02:00
|
|
|
use PHPCI\Command\UpdateCommand;
|
2013-05-15 19:27:13 +02:00
|
|
|
use PHPCI\Command\InstallCommand;
|
2013-06-09 18:42:50 +02:00
|
|
|
use PHPCI\Command\DaemonCommand;
|
2013-05-15 19:27:13 +02:00
|
|
|
use Symfony\Component\Console\Application;
|
|
|
|
|
|
|
|
$application = new Application();
|
|
|
|
$application->add(new RunCommand);
|
|
|
|
$application->add(new InstallCommand);
|
2013-10-08 08:45:20 +02:00
|
|
|
$application->add(new UpdateCommand);
|
2013-05-15 19:27:13 +02:00
|
|
|
$application->add(new GenerateCommand);
|
2013-06-09 18:42:50 +02:00
|
|
|
$application->add(new DaemonCommand);
|
2013-05-15 19:27:13 +02:00
|
|
|
$application->run();
|