/
build.xml
49 lines (45 loc) · 1.23 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<project name="PHPLOC" default="test">
<target name="testReportText">
<phploc reportType="txt"
reportDirectory="${project.basedir}">
<fileset dir=".">
<include name="*.php" />
</fileset>
</phploc>
</target>
<target name="testReportCSV">
<phploc reportType="csv"
reportDirectory="${project.basedir}">
<fileset dir=".">
<include name="*.php" />
</fileset>
</phploc>
</target>
<target name="testReportXML">
<phploc reportType="xml"
reportDirectory="${project.basedir}">
<fileset dir=".">
<include name="*.php" />
</fileset>
</phploc>
</target>
<target name="testReportJSON">
<phploc reportType="json"
reportDirectory="${project.basedir}">
<fileset dir=".">
<include name="*.php" />
</fileset>
</phploc>
</target>
<target name="testFormatters">
<phploc>
<formatter type="txt" toDir="${project.basedir}" outFile="phploc-report.txt" />
<formatter type="csv" toDir="${project.basedir}" outFile="phploc-report.csv" />
<formatter type="xml" toDir="${project.basedir}" outFile="phploc-report.xml" />
<formatter type="xml" toDir="${project.basedir}" outFile="phploc-report.json" />
<fileset dir=".">
<include name="*.php" />
</fileset>
</phploc>
</target>
</project>