add build.xml for "ant test"
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
This commit is contained in:
25
build.xml
Normal file
25
build.xml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<project name="user_external" basedir="." default="test">
|
||||||
|
|
||||||
|
<property file="build.properties"/>
|
||||||
|
|
||||||
|
<!-- test - Tests if the code syntax is correct and executes phpunit tests -->
|
||||||
|
<target name="test">
|
||||||
|
<apply executable="php" failonerror="true">
|
||||||
|
<arg value="-l" />
|
||||||
|
<fileset dir=".">
|
||||||
|
<include name="**/*.php" />
|
||||||
|
<exclude name="**/l10n/**" />
|
||||||
|
</fileset>
|
||||||
|
</apply>
|
||||||
|
|
||||||
|
<!--<exec executable="phpunit" failonerror="true">-->
|
||||||
|
<!--<arg value="-c" />-->
|
||||||
|
<!--<arg path="${build.src.dir}/app/"/>-->
|
||||||
|
<!--<arg value="- -log-junit" />-->
|
||||||
|
<!--<arg path="${report.dir}/phpunit.xml"/>-->
|
||||||
|
<!--<arg value="- -coverage-clover" />-->
|
||||||
|
<!--<arg path=" ${report.dir}/clover.xml"/>-->
|
||||||
|
<!--</exec>-->
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
Reference in New Issue
Block a user