|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
<project name="Chamilo LMS" default="build"> |
|
|
|
|
<target name="build" |
|
|
|
|
depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdoc,phpcb"/> |
|
|
|
|
depends="prepare,lint,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdoc,phpcb"/> |
|
|
|
|
|
|
|
|
|
<target name="build-parallel" |
|
|
|
|
depends="prepare,lint,tools-parallel,phpcb"/> |
|
|
|
@ -15,7 +15,6 @@ |
|
|
|
|
</sequential> |
|
|
|
|
<antcall target="phpcpd"/> |
|
|
|
|
<antcall target="phpcs-ci"/> |
|
|
|
|
<antcall target="phploc"/> |
|
|
|
|
<antcall target="phpdoc"/> |
|
|
|
|
</parallel> |
|
|
|
|
</target> |
|
|
|
@ -50,14 +49,6 @@ |
|
|
|
|
</apply> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="phploc" description="Measure project size using PHPLOC"> |
|
|
|
|
<exec executable="phploc"> |
|
|
|
|
<arg value="--log-csv" /> |
|
|
|
|
<arg value="${basedir}/tests/logs/phploc.csv" /> |
|
|
|
|
<arg path="${basedir}" /> |
|
|
|
|
</exec> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="pdepend" description="Calculate software metrics using PHP_Depend"> |
|
|
|
|
<exec executable="pdepend"> |
|
|
|
|
<arg value="--jdepend-xml=${basedir}/tests/logs/jdepend.xml" /> |
|
|
|
|