Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a 'phpdoc' target to the phing build file

Fixes #11338: Build internal documentation using phpDoc.
  • Loading branch information...
commit 40200d2029aa22d4e3470d39b59be6d0d2da71f3 1 parent 263d760
Robert Munteanu rombert authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 build.xml
13 build.xml
View
@@ -17,6 +17,19 @@
</phpunit>
</target>
+ <!-- requires a 512M memory limit to complete -->
+ <target name="phpdoc" depends="init">
+ <mkdir dir="build/phpdoc"/>
+ <phpdoc title="MantisBT API Docs" sourcecode="yes" destdir="build/phpdoc"
+ output="HTML:Smarty:PHP">
+ <fileset dir=".">
+ <include name="core/**/*.php" />
+ <include name="plugins/**/*.php" />
+ <include name="api/**/*.php" />
+ </fileset>
+ </phpdoc>
+ </target>
+
<target name="clean">
<delete dir="build"/>
</target>
Please sign in to comment.
Something went wrong with that request. Please try again.