forked from hadrienl/yoshioka.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
executable file
·42 lines (37 loc) · 1.38 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Yoshioka.js"
description="Yoshioka javascript MVC framework"
default="prepare">
<target name="prepare">
<delete dir="./build/tests" />
<mkdir dir="./build/tests" />
<mkdir dir="./build/tests/yoshioka.js" />
<copy todir="./build/tests/yoshioka.js">
<fileset dir=".">
<include name="**" />
<exclude name="./build/" />
</fileset>
</copy>
<copy todir="./build/tests">
<fileset dir="./build/tests/yoshioka.js/dist">
<include name="**" />
</fileset>
</copy>
</target>
<target name="ut_chromium">
<echo msg="Unit tests with Chromium" />
<exec command="node ./build/tests/yoshioka.js/tools/hudson/test_app.js --browser chromium --framework"
checkreturn="true"/>
</target>
<target name="ut_iceweasel">
<echo msg="Unit tests with Iceweasel" />
<exec command="node ./build/tests/yoshioka.js/tools/hudson/test_app.js --browser iceweasel --framework"
checkreturn="true"/>
</target>
<target name="doc">
<echo msg="Documentation" />
<delete dir="./build/tests" />
<mkdir dir="./build/docs/" />
<exec command="yuidoc -c ./yuidoc.json" />
</target>
</project>