pictcode / app / Console / cake.bat @ master
履歴 | 表示 | アノテート | ダウンロード (987 Bytes)
1 |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
---|---|
2 |
:: |
3 |
:: Bake is a shell script for running CakePHP bake script |
4 |
:: |
5 |
:: CakePHP(tm) : Rapid Development Framework (http://cakephp.org) |
6 |
:: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
7 |
:: |
8 |
:: Licensed under The MIT License |
9 |
:: Redistributions of files must retain the above copyright notice. |
10 |
:: |
11 |
:: @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) |
12 |
:: @link http://cakephp.org CakePHP(tm) Project |
13 |
:: @package app.Console |
14 |
:: @since CakePHP(tm) v 2.0 |
15 |
:: @license http://www.opensource.org/licenses/mit-license.php MIT License |
16 |
:: |
17 |
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
18 |
|
19 |
:: In order for this script to work as intended, the cake\console\ folder must be in your PATH |
20 |
|
21 |
@echo. |
22 |
@echo off |
23 |
|
24 |
SET app=%0 |
25 |
SET lib=%~dp0 |
26 |
|
27 |
php -q "%lib%cake.php" -working "%CD% " %* |
28 |
|
29 |
echo. |
30 |
|
31 |
exit /B %ERRORLEVEL% |