Skip to content

Commit

Permalink
Prepare release.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jan 3, 2010
1 parent 511c096 commit ff4eb5f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
27 changes: 21 additions & 6 deletions README.markdown
Expand Up @@ -16,31 +16,46 @@ Installation


phploc should be installed using the [PEAR Installer](http://pear.php.net/). This installer is the backbone of PEAR, which provides a distribution system for PHP packages, and is shipped with every release of PHP since version 4.3.0. phploc should be installed using the [PEAR Installer](http://pear.php.net/). This installer is the backbone of PEAR, which provides a distribution system for PHP packages, and is shipped with every release of PHP since version 4.3.0.


The PEAR channel (`pear.phpunit.de`) that is used to distribute phploc needs to be registered with the local PEAR environment: The PEAR channel (`pear.phpunit.de`) that is used to distribute phploc needs to be registered with the local PEAR environment. Furthermore, a component that phploc depends upon is hosted on the eZ Components PEAR channel (`components.ez.no`).


sb@ubuntu ~ % pear channel-discover pear.phpunit.de sb@ubuntu ~ % pear channel-discover pear.phpunit.de
Adding Channel "pear.phpunit.de" succeeded Adding Channel "pear.phpunit.de" succeeded
Discovery of channel "pear.phpunit.de" succeeded Discovery of channel "pear.phpunit.de" succeeded


sb@ubuntu ~ % pear channel-discover components.ez.no
Adding Channel "components.ez.no" succeeded
Discovery of channel "components.ez.no" succeeded

This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel: This has to be done only once. Now the PEAR Installer can be used to install packages from the PHPUnit channel:


sb@ubuntu ~ % pear install phpunit/phploc sb@ubuntu ~ % pear install phpunit/phploc
downloading phploc-1.4.0.tgz ... downloading phploc-1.5.0.tgz ...
Starting to download phploc-1.4.0.tgz (8,349 bytes) Starting to download phploc-1.5.0.tgz (7,871 bytes)
.....done: 8,349 bytes .....done: 7,871 bytes
downloading File_Iterator-1.1.0.tgz ... downloading File_Iterator-1.1.0.tgz ...
Starting to download File_Iterator-1.1.0.tgz (3,181 bytes) Starting to download File_Iterator-1.1.0.tgz (3,181 bytes)
...done: 3,181 bytes ...done: 3,181 bytes
downloading ConsoleTools-1.6.tgz ...
Starting to download ConsoleTools-1.6.tgz (869,925 bytes)
.........................................................
.........................................................
.........................................................
..done: 869,925 bytes
downloading Base-1.8.tgz ...
Starting to download Base-1.8.tgz (236,357 bytes)
...done: 236,357 bytes
install ok: channel://components.ez.no/Base-1.8
install ok: channel://components.ez.no/ConsoleTools-1.6
install ok: channel://pear.phpunit.de/File_Iterator-1.1.0 install ok: channel://pear.phpunit.de/File_Iterator-1.1.0
install ok: channel://pear.phpunit.de/phploc-1.4.0 install ok: channel://pear.phpunit.de/phploc-1.5.0


After the installation you can find the phploc source files inside your local PEAR directory; the path is usually `/usr/lib/php/PHPLOC`. After the installation you can find the phploc source files inside your local PEAR directory; the path is usually `/usr/lib/php/PHPLOC`.


Usage Examples Usage Examples
-------------- --------------


sb@ubuntu ~ % phploc --count-tests /usr/local/src/ezcomponents/trunk/Workflow sb@ubuntu ~ % phploc --count-tests /usr/local/src/ezcomponents/trunk/Workflow
phploc 1.4.0 by Sebastian Bergmann. phploc 1.5.0 by Sebastian Bergmann.


Directories: 13 Directories: 13
Files: 100 Files: 100
Expand Down
6 changes: 3 additions & 3 deletions package.xml
Expand Up @@ -17,10 +17,10 @@
<email>sb@sebastian-bergmann.de</email> <email>sb@sebastian-bergmann.de</email>
<active>yes</active> <active>yes</active>
</lead> </lead>
<date>2009-11-24</date> <date>2010-01-03</date>
<version> <version>
<release>1.4.0</release> <release>1.5.0</release>
<api>1.4.0</api> <api>1.5.0</api>
</version> </version>
<stability> <stability>
<release>stable</release> <release>stable</release>
Expand Down

0 comments on commit ff4eb5f

Please sign in to comment.