Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4dae897

Browse files
Cleanup.
1 parent 923a45a commit 4dae897

1 file changed

Lines changed: 31 additions & 57 deletions

File tree

Lines changed: 31 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
PHP_CodeBrowser
1+
# PHP_CodeBrowser #
22

3-
4-
1. Structure
5-
2. Installation
6-
3. Usage
7-
4. View the results
8-
5. Contact information
9-
10-
11-
1. Structure
12-
------------------------------------------------------------------------
3+
## Structure ##
134

145
|--> bin/ PHP_CodeBrowser scripts
156
|--> src/ Source files for PHP_CodeBrowser
@@ -28,45 +19,37 @@
2819
|--> README Structure and install information
2920
|--> CHANGELOG Update information
3021

22+
## Installation ##
3123

32-
2. Installation
33-
------------------------------------------------------------------------
24+
### Git Checkout ###
3425

35-
a) Svn checkout
36-
===============
37-
38-
svn co svn://phpunit.de/phpunit/phpcb/trunk PHP_CodeBrowser
39-
40-
b) Installation by PEAR
41-
====================
42-
43-
pear config-set preferred_state alpha
44-
pear channel-discover pear.phpunit.de
45-
pear install --alldeps phpunit/PHP_CodeBrowser
46-
26+
$ git clone git://github.com/mayflowergmbh/PHP_CodeBrowser.git
4727

48-
3. Usage
49-
------------------------------------------------------------------------
28+
### Installation with PEAR Installer ###
29+
30+
$ pear config-set preferred_state alpha
31+
$ pear channel-discover pear.phpunit.de
32+
$ pear install --alldeps phpunit/PHP_CodeBrowser
33+
34+
## Usage ##
35+
36+
### Shell Usage ###
5037

51-
a) Shell usage
52-
==============
53-
5438
Usage: phpcb(.php|.bat) --log <dir> --output <dir> [--source <dir>]
5539

5640
--log Path to xml log files, e.g. generated by phpunit
5741
--output Path to output directory (must differ from source directory)
5842
--source (opt) Path to project source
5943

60-
In case of optional --source parameter definition its target directory will be
61-
parsed. Errors from log files will be merged into parsed file list from target
62-
directory, if match in path definition exists.
63-
Else only files from error logs will be parsed.
44+
In case the optional `--source` parameter is used the given target directory will be parsed. Errors from log files will be merged into the parsed file list from the target directory.
45+
46+
Otherwise only files from error logs will be parsed.
6447

65-
b) Integration in cruisecontrol
66-
===============================
48+
### Integration in CruiseControl ###
6749

6850
...
69-
<target name="build" depends="...,phpcb" /> (phpcb should be called after xml file generation)
51+
<!-- phpcb should be called after xml file generation -->
52+
<target name="build" depends="...,phpcb" />
7053
...
7154
<target name="phpcb">
7255
<exec executable="phpcb">
@@ -76,40 +59,31 @@
7659
</exec>
7760
</target>
7861
...
79-
8062

81-
4. View the results
82-
------------------------------------------------------------------------
63+
## View the Results ##
8364

84-
a) Webbrowser
85-
=============
65+
### Webbrowser ###
8666

87-
Call the /path/to/defined/output/index.html
67+
Open `/path/to/defined/output/index.html`.
8868

89-
b) Cruisecontrol
90-
================
91-
92-
b.1) config.xml
93-
---------------
69+
### CruiseControl ###
70+
71+
#### config.xml ####
72+
9473
<publishers>
9574
<artifactspublisher dir="path/to/output" dest="artifacts/${project.name}" subdirectory="PhpCbIdentifier" />
9675
...
9776
</publishers>
9877

99-
b.2) path/to/cruisecontrol/webapps/cruisecontrol/main.jsp
100-
-------------
78+
#### main.jsp ####
79+
10180
<cruisecontrol:tab name="PHP_CodeBrowser" label="PHP_CodeBrowser">
10281
<cruisecontrol:artifactsLink>
10382
<iframe src="<%=request.getContextPath() %>/<%= artifacts_url %>/PhpCbIdentifier/index.html" class="tab-content">
10483
</iframe>
10584
</cruisecontrol:artifactsLink>
10685
</cruisecontrol:tab>
107-
10886

109-
5. Contact information
110-
------------------------------------------------------------------------
87+
## Contact Information ##
11188

112-
If you have any questions you may get in contact with:
113-
Elger Thiele <[email protected]>
114-
115-
89+
If you have any questions you may get in contact with: Elger Thiele <[email protected]>

0 commit comments

Comments
 (0)