blob: 6c5e1dfb87d9f94e115245f8447b080106c83a40 [file] [log] [blame]
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00001<project name="platforms">
fabbott@google.com0e2dc6282008-08-22 16:09:01 +00002 <import file="${gwt.root}/common.ant.xml" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00003
fabbott@google.com0e2dc6282008-08-22 16:09:01 +00004 <!-- "build" is the default when subprojects are directly targetted -->
5 <property name="target" value="build" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +00006
fabbott@google.com0e2dc6282008-08-22 16:09:01 +00007 <available file="core/build.xml" type="file" property="core.exists" />
8 <target name="core" description="Run core" if="core.exists">
9 <gwt.ant dir="core" />
10 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000011
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000012 <target name="linux" depends="core" description="Run linux">
13 <gwt.ant dir="linux" />
14 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000015
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000016 <target name="windows" depends="core" description="Run windows">
17 <gwt.ant dir="windows" />
18 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000019
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000020 <target name="mac" depends="core" description="Run mac">
21 <gwt.ant dir="mac" />
22 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000023
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000024 <target name="-do" depends="linux, windows, mac" description="Run all platforms" />
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000025
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000026 <target name="build" description="Build each platforms">
27 <antcall target="-do">
28 <param name="target" value="build" />
29 </antcall>
30 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000031
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000032 <target name="checkstyle" description="Static analysis of source for each platform">
33 <antcall target="-do">
34 <param name="target" value="checkstyle" />
35 </antcall>
36 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000037
fabbott@google.com0e2dc6282008-08-22 16:09:01 +000038 <target name="test" description="Test each platform">
39 <antcall target="-do">
40 <param name="target" value="test" />
41 </antcall>
42 </target>
gwt.team.scottb14c5b9d2006-12-10 06:06:08 +000043
44</project>