2005-05-22 23:24:09 +00:00
|
|
|
#!/usr/local/bin/php
|
2005-07-04 01:07:14 +00:00
|
|
|
<?php
|
2005-08-21 06:49:02 +00:00
|
|
|
/* SVN FILE: $Id$ */
|
2005-05-22 23:24:09 +00:00
|
|
|
|
|
|
|
/**
|
2005-10-18 22:27:39 +00:00
|
|
|
* Bake startup script
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
2005-10-18 22:27:39 +00:00
|
|
|
* Invokes the Bake class with given parameters.
|
2005-08-21 06:49:02 +00:00
|
|
|
*
|
|
|
|
* PHP versions 4 and 5
|
|
|
|
*
|
|
|
|
* CakePHP : Rapid Development Framework <http://www.cakephp.org/>
|
|
|
|
* Copyright (c) 2005, CakePHP Authors/Developers
|
|
|
|
*
|
|
|
|
* Author(s): Michal Tatarynowicz aka Pies <tatarynowicz@gmail.com>
|
|
|
|
* Larry E. Masters aka PhpNut <nut@phpnut.com>
|
|
|
|
* Kamil Dzielinski aka Brego <brego.dk@gmail.com>
|
|
|
|
*
|
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice.
|
|
|
|
*
|
|
|
|
* @filesource
|
|
|
|
* @author CakePHP Authors/Developers
|
|
|
|
* @copyright Copyright (c) 2005, CakePHP Authors/Developers
|
|
|
|
* @link https://trac.cakephp.org/wiki/Authors Authors/Developers
|
|
|
|
* @package cake
|
2005-10-09 01:56:21 +00:00
|
|
|
* @subpackage cake.cake.scripts
|
2005-08-21 06:49:02 +00:00
|
|
|
* @since CakePHP v 0.2.9
|
|
|
|
* @version $Revision$
|
|
|
|
* @modifiedby $LastChangedBy$
|
|
|
|
* @lastmodified $Date$
|
|
|
|
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
|
|
|
|
*/
|
2005-05-22 23:24:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* START-UP
|
|
|
|
*/
|
|
|
|
define ('DS', DIRECTORY_SEPARATOR);
|
|
|
|
define ('ROOT', dirname(dirname(__FILE__)).DS);
|
|
|
|
|
|
|
|
require (ROOT.'config'.DS.'paths.php');
|
|
|
|
require (LIBS.'basics.php');
|
|
|
|
uses ('bake');
|
|
|
|
|
|
|
|
$waste = array_shift($argv);
|
|
|
|
$product = array_shift($argv);
|
|
|
|
|
|
|
|
$bake = new Bake ($product, $argv);
|
|
|
|
|
2005-05-15 21:41:38 +00:00
|
|
|
?>
|