forked from jahertor/gwt-ext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platforms.ant.xml
45 lines (35 loc) · 1.3 KB
/
platforms.ant.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
<project name="platforms">
<import file="${gwtext.root}/common.ant.xml" />
<!-- "build" is the default when subprojects are directly targetted -->
<property name="target" value="build" />
<available file="core/build.xml" type="file" property="core.exists" />
<target name="core" description="Run core" if="core.exists">
<gwt.ant dir="core" />
</target>
<target name="linux" depends="core" description="Run linux">
<gwt.ant dir="linux" />
</target>
<target name="windows" depends="core" description="Run windows">
<gwt.ant dir="windows" />
</target>
<target name="mac" depends="core" description="Run mac">
<gwt.ant dir="mac" />
</target>
<!--only windows build required for now-->
<target name="-do" depends="windows" description="Run all platforms" />
<target name="build" description="Build each platforms">
<antcall target="-do">
<param name="target" value="build" />
</antcall>
</target>
<target name="checkstyle" description="Static analysis of source for each platform">
<antcall target="-do">
<param name="target" value="checkstyle" />
</antcall>
</target>
<target name="test" depends="build" description="Test each platform">
<antcall target="-do">
<param name="target" value="test" />
</antcall>
</target>
</project>