gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 1 | <project name="platforms"> |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 2 | <import file="${gwt.root}/common.ant.xml" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 3 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 4 | <!-- "build" is the default when subprojects are directly targetted --> |
| 5 | <property name="target" value="build" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 6 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 7 | <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.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 11 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 12 | <target name="linux" depends="core" description="Run linux"> |
| 13 | <gwt.ant dir="linux" /> |
| 14 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 15 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 16 | <target name="windows" depends="core" description="Run windows"> |
| 17 | <gwt.ant dir="windows" /> |
| 18 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 19 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 20 | <target name="mac" depends="core" description="Run mac"> |
| 21 | <gwt.ant dir="mac" /> |
| 22 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 23 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 24 | <target name="-do" depends="linux, windows, mac" description="Run all platforms" /> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 25 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 26 | <target name="build" description="Build each platforms"> |
| 27 | <antcall target="-do"> |
| 28 | <param name="target" value="build" /> |
| 29 | </antcall> |
| 30 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 31 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 32 | <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.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 37 | |
fabbott@google.com | 0e2dc628 | 2008-08-22 16:09:01 +0000 | [diff] [blame] | 38 | <target name="test" description="Test each platform"> |
| 39 | <antcall target="-do"> |
| 40 | <param name="target" value="test" /> |
| 41 | </antcall> |
| 42 | </target> |
gwt.team.scottb | 14c5b9d | 2006-12-10 06:06:08 +0000 | [diff] [blame] | 43 | |
| 44 | </project> |