generate-pear2 - Create the subversion source layout for a PEAR2 package

Introduction

The generate-pear2 command is used to create a bare skeleton for a new PEAR2 package as it will reside in Subversion. It creates everything needed except the source code.

Two arguments are accepted, package and optionally channel.

package

The package argument is the name of the package to create a skeleton for. This is used as the directory name and as the package name used within files related to creating a PEAR2 package.

If MyPackage is passed, a directory will be created in the current working directory titled MyPackage, with subdirectories for branches, tags, and trunk. All the required packaging files will be within the trunk directory, and you can place your code within the MyPackage/trunk/src/MyPackage/Main.php file.

PEAR2_MyPackage will be the name of your package if MyPackage is passed as the package name.

channel

The channel argument defaults to pear2.php.net.

run-phpt - execute PHPT tests (Previous) generate-ext - Create the subversion source layout for a new PHP extension that is PECL-ready (Next)
Last updated: Sun, 29 Aug 2010 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.