This package contains several custom commands for Pyrus.
Included are commands for:
- Creating PEAR2 and PECL package skeletons
php pyrus.phar generate-pear2 MyNewPackage- generate-pear2 documentation
- Creating a package.xml file
php pyrus.phar make- make documentation
- Packaging PEAR2 and PEAR releases
php pyrus.phar package- package documentation
- Running phpt tests and generating code coverage reports
php pyrus.phar run-phpt -m- run-phpt documentation
For more information, read the documentation.
Release Notes - 0.4.0
New feature release:
Add --scanoptions to the make command [cellog] This allows configuring several things when generating
package.xml. This option should specify the location of a php script that specifies 3 overrides to the default values for baseinstalldirs, for directory->role mapping, and for pathnames inpackage.xmlFor example:
<?php // use "htdocs" as our web directory in the repository, instead of www $scanoptions['baseinstalldirs'] = array('htdocs' => '/'); $scanoptions['rolemap'] = array('htdocs' => 'www'); $scanoptions['mappath'] = array('htdocs' => 'www'); // ignore a library directory we install using pyrus, // and a specific file $scanoptions['ignore'] = array('lib' => 'dir', 'some/file.txt' => 'file'); ?>By default, the
makecommand looks for scanoptions.php in the same directory as the package.xml- Update source layout so files can be autoloaded from checkout [saltybeagle]
- Add code coverage reporter to the www directory [saltybeagle]
- For
$extrafiles, support any object that implementsPackageInterface[saltybeagle]
Bugs fixed:
- Increase minimum PHP dependency to 5.3.1RC1 [saltybeagle]
- Prevent fatal errors when only a
package2.xmlis present, ala XML_RPC2 [clockwerx] - Allow
src/PEAR2base directory for package layout [saltybeagle] - Fix Bug #18123 Exception when using
pyrus.phar make -n. [saltybeagle] - Correct inconsitency of docs directory name. [saltybeagle]
Installation
| Status: | 0.4.0 alpha, released on March 7, 2011 |
|---|---|
| License: | New BSD License |
| Maintained: | yes |
Browse Files
54 files in 30 directories.Dependencies for PEAR2_Pyrus_Developer
- PHP ≥ 5.3.1RC1
