Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <target name="checkout">
- <exec executable="svn" dir="${basedir}/source">
- <arg line="up" />
- </exec>
- </target>
- <target name="php-documentor">
- <exec executable="phpdoc" dir="${basedir}/source" logerror="on">
- <arg line="-ct type -ue on -t ${basedir}/build/api
- -tb /usr/share/php/data/phpUnderControl/data/phpdoc
- -o HTML:Phpuc:phpuc
- -d ${basedir}/source/trunk/application/modules
- -i *.phtml,*/views/scripts/*,*/html/* "/>
- </exec>
- </target>
- <target name="phpunit">
- <exec executable="phpunit" dir="${basedir}/source/tests" failonerror="true">
- <arg line="--log-xml ${basedir}/build/logs/phpunit.xml
- --log-pmd ${basedir}/build/logs/phpunit.pmd.xml
- --log-metrics ${basedir}/build/logs/phpunit.metrics.xml
- --coverage-xml ${basedir}/build/logs/phpunit.coverage.xml
- --coverage-html ${basedir}/build/coverage
- SeleneseTests" />
- </exec>
- </target>
- <target name="build" depends="checkout,php-documentor, phpunit" />
Add Comment
Please, Sign In to add comment