mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-21 16:01:53 +00:00
17 lines
579 B
XML
17 lines
579 B
XML
<project name="php-resque" default="build">
|
|
<target name="clean">
|
|
<delete dir="${basedir}/build" />
|
|
</target>
|
|
<target name="prepare">
|
|
<mkdir dir="${basedir}/build" />
|
|
<mkdir dir="${basedir}/build/logs" />
|
|
</target>
|
|
<target name="phpunit">
|
|
<exec dir="${basedir}" executable="phpunit" failonerror="true">
|
|
<arg line="--log-junit ${basedir}/build/logs/phpunit.xml
|
|
--coverage-clover ${basedir}/build/logs/clover.xml
|
|
--coverage-html ${basedir}/build/coverage" />
|
|
</exec>
|
|
</target>
|
|
<target name="build" depends="clean,prepare,phpunit" />
|
|
</project> |