forked from joindin/joindin-web2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
26 lines (20 loc) · 771 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="UTF-8"?>
<project name="joindin-responsive" default="build" basedir=".">
<property name="basedir" value="."/>
<target name="build" depends="phplint,phpunit" />
<target name="phplint" description="Run php -l over the fileset">
<phplint haltonfailure="true">
<fileset dir="${basedir}">
<patternset>
<include name="**/*.php"/>
</patternset>
</fileset>
</phplint>
</target>
<target name="phpunit" description="Run unit tests using PHPUnit and generates junit.xml and clover.xml">
<exec command="phpunit -c tests/phpunit.xml" logoutput="/dev/stdout" checkreturn="true" />
</target>
<target name="launch">
<exec command="scripts/jenkinslaunch.sh" checkreturn="true" />
</target>
</project>