cvs: pear /DB_DataObject package.xml /DB_DataObject/scripts DB_DataObject_createTables.bat
| From: | Arnaud Limbourg | Date: | Mon, 08 Sep 2003 20:43:31 +0000 |
| Subject: | cvs: pear /DB_DataObject package.xml /DB_DataObject/scripts DB_DataObject_createTables.bat | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12558@lists.php.net to get a copy of this message | ||
arnaud Mon Sep 8 16:43:31 2003 EDT
Added files:
/pear/DB_DataObject/scripts DB_DataObject_createTables.bat
Modified files:
/pear/DB_DataObject package.xml
Log:
* add a simple batch script to execute createTables.php
* update package.xml filelist
# this is done in agreement with alan ;)
Index: pear/DB_DataObject/package.xml
diff -u pear/DB_DataObject/package.xml:1.63 pear/DB_DataObject/package.xml:1.64
--- pear/DB_DataObject/package.xml:1.63 Mon Sep 8 16:41:41 2003
+++ pear/DB_DataObject/package.xml Mon Sep 8 16:43:31 2003
@@ -52,6 +52,9 @@
<dir name="docs" role="doc">
<file>example.ini</file>
</dir>
+ <dir name="scripts" role="script">
+ <file>DB_DataObject_createTables.bat</file>
+ </dir>
</filelist>
<deps>
Index: pear/DB_DataObject/scripts/DB_DataObject_createTables.bat
+++ pear/DB_DataObject/scripts/DB_DataObject_createTables.bat
@ECHO OFF
REM $Id: DB_DataObject_createTables.bat,v 1.1 2003/09/08 20:43:31 arnaud Exp $
REM BATCH FILE TO EXECUTE PEAR::DB_DATAOBJECT createTables.php script
IF '%1' == '' (
ECHO **************************************************
ECHO * Please pass the name of the ini file
ECHO * to process at the only parameter
ECHO *
ECHO * e.g.: DB_DataObject_createTables my_ini_file.ini
ECHO **************************************************
GOTO :EOF
)
%PHP_PEAR_PHP_BIN% %PHP_PEAR_INSTALL_DIR%\DB\DataObject\createTables.php %1