Created
June 2, 2011 14:46
-
-
Save zircote/1004580 to your computer and use it in GitHub Desktop.
DocBlox from PHPDocumenter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git build.xml build.xml | |
index 0342c23..2608ddf 100644 | |
--- build.xml | |
+++ build.xml | |
@@ -26,7 +26,7 @@ | |
</target> | |
<target name="parallelTasks" | |
- description="Run the pdepend, phpmd, phpcpd, phpcs, phpdoc and phploc tasks in parallel using a maximum of 2 threads."> | |
+ description="Run the pdepend, phpmd, phpcpd, phpcs, docblox and phploc tasks in parallel using a maximum of 2 threads."> | |
<parallel threadCount="2"> | |
<sequential> | |
<antcall target="pdepend" /> | |
@@ -34,7 +34,7 @@ | |
</sequential> | |
<antcall target="phpcpd" /> | |
<antcall target="phpcs" /> | |
- <antcall target="phpdoc" /> | |
+ <antcall target="docblox" /> | |
<antcall target="phploc" /> | |
<antcall target="phpcb" /> | |
</parallel> | |
@@ -83,9 +83,9 @@ | |
</exec> | |
</target> | |
- <target name="phpdoc" description="Generate API documentation using PHPDocumentor"> | |
- <exec executable="phpdoc"> | |
- <arg line="-d ${source} -t ${basedir}/build/api" /> | |
+ <target name="docblox" description="Generate API documentation using DocBlox"> | |
+ <exec executable="docblox"> | |
+ <arg line="run -d ${source} -t ${basedir}/build/api" /> | |
</exec> | |
</target> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# DocBlox does require xsl support | |
sudo apt-get install php5-xsl # or equivelant for your OS | |
sudo pear channel-discover pear.michelf.com # a dependency channel for docblox | |
sudo pear channel-discover pear.docblox-project.org | |
sudo pear install docblox/DocBlox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment