source: pro-bachkim-filespace/sourcecode/api.violet.vn/www/plugins/sfPropel13Plugin/lib/vendor/phing/bin/pear-phing.bat

Last change on this file was 19, checked in by dungnv, 11 years ago
File size: 1.6 KB
Line 
1@ECHO OFF
2
3:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
4:: The phing build script for Windows based systems
5:: $Id: pear-phing.bat 123 2006-09-14 20:19:08Z mrook $
6:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
7
8::----------------------------------------------------------------------------------
9:: Please set following to PHP's CLI
10:: NOTE: In PHP 4.2.x the PHP-CLI used to be named php-cli.exe.
11::       PHP 4.3.x names it php.exe but stores it in a subdir called /cli/php.exe
12::       E.g. for PHP 4.2 C:\phpdev\php-4.2-Win32\php-cli.exe
13::            for PHP 4.3 C:\phpdev\php-4.3-Win32\cli\php.exe
14 
15  SET phpCli=@PHP-BIN@
16
17::---------------------------------------------------------------------------------
18::---------------------------------------------------------------------------------
19:: Do not modify below this line!! (Unless you know what your doing :)
20::---------------------------------------------------------------------------------
21::---------------------------------------------------------------------------------
22
23:: Check existence of php.exe
24IF EXIST "%phpCli%" (
25  SET doNothing=
26) ELSE GOTO :NoPhpCli
27
28"%phpCli%" -d html_errors=off -qC "@PEAR-DIR@\phing.php" %*
29GOTO :EOF
30
31::
32:: php.exe not found error 
33GOTO :PAUSE_END
34:NoPhpCli
35ECHO ** ERROR *****************************************************************
36ECHO * Sorry, can't find the php.exe file.
37ECHO * You must edit this file to point to your php.exe (CLI version!)
38ECHO *    [Currently set to %phpCli%]
39ECHO **************************************************************************
40
41GOTO :PAUSE_END
42
43:PAUSE_END
44PAUSE
Note: See TracBrowser for help on using the repository browser.