|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
<project name="Chamilo LMS" default="build"> |
|
|
|
|
<target name="build" |
|
|
|
|
depends="prepare,lint,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdoc,phpcb"/> |
|
|
|
|
depends="prepare,lint,pdepend,phpmd-ci,phpcs-ci,phpdoc,phpcb"/> |
|
|
|
|
|
|
|
|
|
<target name="build-parallel" |
|
|
|
|
depends="prepare,lint,tools-parallel,phpcb"/> |
|
|
|
|
@ -13,7 +13,6 @@ |
|
|
|
|
<antcall target="pdepend"/> |
|
|
|
|
<antcall target="phpmd-ci"/> |
|
|
|
|
</sequential> |
|
|
|
|
<antcall target="phpcpd"/> |
|
|
|
|
<antcall target="phpcs-ci"/> |
|
|
|
|
<antcall target="phpdoc"/> |
|
|
|
|
</parallel> |
|
|
|
|
@ -93,14 +92,6 @@ |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="phpcpd" description="Find duplicate code using PHPCPD"> |
|
|
|
|
<exec executable="phpcpd"> |
|
|
|
|
<arg value="--log-pmd" /> |
|
|
|
|
<arg value="${basedir}/tests/logs/pmd-cpd.xml" /> |
|
|
|
|
<arg path="${basedir}" /> |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="phpdoc" description="Generate API documentation"> |
|
|
|
|
<exec executable="phpdoc"> |
|
|
|
|
<arg line="-d ${basedir} -t ${basedir}/logs/docs" /> |
|
|
|
|
|