Question about package.xml and scripts files

From: Date: Sat, 15 May 2004 02:52:41 +0000
Subject: Question about package.xml and scripts files
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29255@lists.php.net to get a copy of this message
Devs: I'm working in the new package for PHP_Beautifier and I have a question. Where I put the scripts files? Now, I have something like that in package.xml <filelist> <file baseinstalldir="/" role="script" name="php_beautifier" /> <file baseinstalldir="/" role="script" platform="windows" name="php_beautifier.bat"> <replace from='"@php_bin@"' to="php_bin" type="pear-config"/> <replace from='"@bin_dir@"' to="bin_dir" type="pear-config"/> </file> </filelist> The output for php_beautifier.bat is @ECHO OFF SET PHP=j:\php\php.exe SET BEAUTIFY=j:\php\php_beautify %PHP% -d output_buffering=1 -f %BEAUTIFY% -- %1 %2 %3 %4 %5 %6 %7 %8 %9 @ECHO ON Both files are installed on directory of the executable, as I set on bin_dir (PEAR variable) It's ok? Claudio Bustos Navarrete Psicólogo de la Universidad de Concepción E-mail: clbustos@entelchile.net Www: http://www.apsique.com

« previous php.pear.dev (#29255) next »