|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
<project name="Chamilo LMS" default="build"> |
|
|
|
|
<target name="build" |
|
|
|
|
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpcb"/> |
|
|
|
|
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdoc,phpcb"/> |
|
|
|
|
|
|
|
|
|
<target name="build-parallel" |
|
|
|
|
depends="prepare,lint,tools-parallel,phpcb"/> |
|
|
|
|
@ -16,7 +16,7 @@ |
|
|
|
|
<antcall target="phpcpd"/> |
|
|
|
|
<antcall target="phpcs-ci"/> |
|
|
|
|
<antcall target="phploc"/> |
|
|
|
|
<antcall target="phpdox"/> |
|
|
|
|
<antcall target="phpdoc"/> |
|
|
|
|
</parallel> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
@ -110,10 +110,11 @@ |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="phpdox" description="Generate API documentation using phpDox"> |
|
|
|
|
<exec executable="phpdox"/> |
|
|
|
|
<target name="phpdoc" description="Generate API documentation"> |
|
|
|
|
<exec executable="phpdoc"> |
|
|
|
|
<arg line="-d ${basedir} -t ${basedir}/logs/docs" /> |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="phpcb" description="Aggregate tool output with PHP_CodeBrowser"> |
|
|
|
|
<exec executable="phpcb"> |
|
|
|
|
<arg value="--log" /> |
|
|
|
|
@ -124,9 +125,4 @@ |
|
|
|
|
<arg path="${basedir}/tests/code-browser" /> |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
<target name="phpdoc" description="Generate API documentation"> |
|
|
|
|
<exec executable="phpdoc"> |
|
|
|
|
<arg line="-d ${basedir} -t ${basedir}/logs/docs" /> |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
</project> |
|
|
|
|
|