mirror of
https://github.com/yiisoft/yii.git
synced 2026-03-15 04:26:52 +01:00
- removed requirement for PHPUnit from build command #963 - fixed PHPUnit autoloading in CTestCase register phpunit autoloader before Yii autoloader to handle phpunit autoloads correctly. Also require PHPUnit/Util/Filesystem.php to avoid Yii autoloader to crash initializing of PHPUnit autoloader, see also: sebastianbergmann/phpunit#605 https://github.com/sebastianbergmann/phpunit/pull/605 - imported CTestCase in CWebTestCase to ensure PHPUnit autoloader is initialized correctly
19 lines
463 B
PHP
Executable File
19 lines
463 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
/**
|
|
* build script file.
|
|
*
|
|
* This is a command line script that provides various commands
|
|
* for building an Yii release.
|
|
*
|
|
* @author Qiang Xue <qiang.xue@gmail.com>
|
|
* @link http://www.yiiframework.com/
|
|
* @copyright Copyright © 2008 Yii Software LLC
|
|
* @license http://www.yiiframework.com/license/
|
|
* @version $Id$
|
|
*/
|
|
|
|
$root=dirname(__FILE__);
|
|
$config=array('basePath'=>$root);
|
|
require_once($root.'/../framework/yiic.php');
|