Re: Re: PhpBeautify draft

From: Date: Thu, 13 May 2004 22:20:51 +0000
Subject: Re: Re: PhpBeautify draft
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29234@lists.php.net to get a copy of this message
On 13 May 2004 at 18:17, Claudio Bustos wrote: > > > VERY good point, in this case, as Stefan says, PHP_Beautifier to follow > > > in the same vein as XML_Beautifier is a good name :) > > > >Oh yes, very good point. Didn't think about that yet. Hmm, then maybe > >PHP_Beautifier fits best - agreed. > > Ok. PHP_Beautifier will be the new name. And the licence will change to > PHP... a little mistake. No problem with that. Thought so :-) > Please, take a look on the docs and send corrections. Hopefully tomorrow maybe. I'll try to. > I have to do the 'how to use' part, but I want to finish the web > Front-end, first. > A question: How can I create, with the installer, a .bat file in php.exe > dir, like PhpDocumentor does? Is a nice trick, and all the Windows guys > will be glad. Maybe have a look at the package.xml of the main PEAR-package. These lines here might be what you are looking for: <file role="script" baseinstalldir="/" install-as="pear" name="scripts/pear.sh"> <replace from="@php_bin@" to="php_bin" type="pear-config"/> <replace from="@php_dir@" to="php_dir" type="pear-config"/> <replace from="@pear_version@" to="version" type="package- info"/> <replace from="@include_path@" to="php_dir" type="pear- config"/> </file> <file role="script" baseinstalldir="/" platform="windows" install-as="pear.bat" name="scripts/pear.bat"> <replace from="@bin_dir@" to="bin_dir" type="pear-config"/> <replace from="@php_bin@" to="php_bin" type="pear-config"/> <replace from="@include_path@" to="php_dir" type="pear- config"/> </file> <file role="php" baseinstalldir="/" install-as="pearcmd.php" name="scripts/pearcmd.php"> <replace from="@php_bin@" to="php_bin" type="pear-config"/> <replace from="@php_dir@" to="php_dir" type="pear-config"/> <replace from="@pear_version@" to="version" type="package- info"/> <replace from="@include_path@" to="php_dir" type="pear- config"/> </file> Greetings, Stefan

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