forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
33 lines (28 loc) · 895 Bytes
/
build.xml
File metadata and controls
33 lines (28 loc) · 895 Bytes
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
<project>
<property name="root.dir" value="."/>
<property name="report.dir" value="${root.dir}/report"/>
<property name="reporthtml.dir" value="${root.dir}/report/html"/>
<!-- Create xml report -->
<target name="report">
<mkdir dir="${report.dir}"/>
<junitreport todir="${report.dir}">
<fileset dir="${root.dir}">
<include name="**/result.xml"/>
</fileset>
</junitreport>
</target>
<!-- Create HTML report -->
<target name="reporthtml">
<mkdir dir="${report.dir}"/>
<junitreport todir="${report.dir}">
<fileset dir="${root.dir}">
<include name="**/result.xml"/>
</fileset>
<report format="frames" todir="${reporthtml.dir}"/>
</junitreport>
</target>
<!-- Clean reports -->
<target name="clean">
<delete dir="${report.dir}"/>
</target>
</project>