Skip to content

Commit

Permalink
Updated to use phpdocumentor2
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmace committed Apr 8, 2015
1 parent a405924 commit 33a47ca
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions build.xml
Expand Up @@ -110,16 +110,11 @@

</target>

<target name="document" depends="php-documentor" />

<target name="php-documentor">
<exec command="docblox run --title '${phing.project.name}'
--target ${project.basedir}/build/docs
--directory ."
dir="${project.basedir}/source" checkreturn="true" />
<exec command="docblox transform --source ${project.basedir}/build/docs/structure.xml
--target ${project.basedir}/build/docs"
dir="${project.basedir}/source" checkreturn="true" />
<target name="document">
<echo>command="phpdoc run --title '${phing.project.name}' --target ${buildDir}/docs --directory ."</echo>
<echo>dir="${sourceDir}"</echo>
<exec command="phpdoc run --title '${phing.project.name}'
--target ${buildDir}/docs --directory ." dir="${sourceDir}" />
</target>

<target name="analysis" depends="sonar:configure, sonar:run" />
Expand All @@ -146,4 +141,4 @@
dir="${project.basedir}" checkreturn="false" />
</target>

</project>
</project>

0 comments on commit 33a47ca

Please sign in to comment.