cake.bat 973 B

1234567891011121314151617181920212223242526272829303132
  1. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::
  3. :: Bake is a shell script for running CakePHP bake script
  4. :: PHP 5
  5. ::
  6. :: CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  7. :: Copyright 2005-2012, Cake Software Foundation, Inc.
  8. ::
  9. :: Licensed under The MIT License
  10. :: Redistributions of files must retain the above copyright notice.
  11. ::
  12. :: @copyright Copyright 2005-2012, Cake Software Foundation, Inc.
  13. :: @link http://cakephp.org CakePHP(tm) Project
  14. :: @package cake.console
  15. :: @since CakePHP(tm) v 1.2.0.5012
  16. :: @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  17. ::
  18. ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  19. :: In order for this script to work as intended, the cake\console\ folder must be in your PATH
  20. @echo.
  21. @echo off
  22. SET app=%0
  23. SET lib=%~dp0
  24. php -q "%lib%cake.php" -working "%CD% " %*
  25. echo.
  26. exit /B %ERRORLEVEL%