svn: /pear2/Pyrus_Developer/trunk/ customcommand/commands.xml src/Pyrus/Developer/PackageFile/Commands.php
| From: | Brett Bieber | Date: | Sun, 02 Aug 2009 13:10:44 +0000 |
| Subject: | svn: /pear2/Pyrus_Developer/trunk/ customcommand/commands.xml src/Pyrus/Developer/PackageFile/Commands.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-56833@lists.php.net to get a copy of this message | ||
saltybeagle Sun, 02 Aug 2009 13:10:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286663
Log:
Add missing command options, fix a few notices, the package option still needs some work.
Changed paths:
U pear2/Pyrus_Developer/trunk/customcommand/commands.xml
U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
Modified: pear2/Pyrus_Developer/trunk/customcommand/commands.xml
===================================================================
--- pear2/Pyrus_Developer/trunk/customcommand/commands.xml 2009-08-02 12:53:25 UTC (rev 286662)
+++ pear2/Pyrus_Developer/trunk/customcommand/commands.xml 2009-08-02 13:10:44 UTC (rev 286663)
@@ -303,7 +303,26 @@
<autoloadpath></autoloadpath>
<summary>Generate the subversion source layout for a new PEAR2 package</summary>
<shortcut>gp</shortcut>
- <options/>
+ <options>
+ <option>
+ <name>nocompatible</name>
+ <shortopt>n</shortopt>
+ <type><bool/></type>
+ <doc>Generate compatible package xml</doc>
+ </option>
+ <option>
+ <name>packagexmlsetup</name>
+ <shortopt>p</shortopt>
+ <type><bool/></type>
+ <doc>Generate package xml</doc>
+ </option>
+ <option>
+ <name>package</name>
+ <shortopt>m</shortopt>
+ <type><bool/></type>
+ <doc>Make the package releases</doc>
+ </option>
+ </options>
<arguments>
<argument>
<name>package</name>
Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php
===================================================================
--- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-08-02 12:53:25 UTC
(rev 286662)
+++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/Commands.php 2009-08-02 13:10:44 UTC
(rev 286663)
@@ -547,7 +547,7 @@
__HALT_COMPILER();
");
- $this->makePackageXml($fronted, array('packagename' =>
$info['package'], 'channel' => $args['channel']),
+ $this->makePackageXml($frontend, array('packagename' =>
$info['package'], 'channel' => $args['channel']),
$options);
}