forked from wet-boew/wet-boew
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
48 lines (44 loc) · 2.13 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
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<project name="wet" default="default" basedir=".">
<description>Web Experience Toolkit</description>
<property file="build.properties"/>
<target name="default" depends="clean,build" description="Performs a Cleand and Build when calling ant without any target"></target>
<target name="build" depends="">
<echo level="info">
---Building WET Core Framework---
</echo>
<ant dir="${src.dir}/js" antfile="build.xml" target="build" inheritAll="false"/>
<echo level="info">
---Building Base CSS---
</echo>
<ant dir="${src.dir}/base" antfile="build.xml" target="build" inheritAll="false"/>
<echo level="info">
---Building CSS Grid System---
</echo>
<ant dir="${src.dir}/grids" antfile="build.xml" target="build" inheritAll="false"/>
<echo level="info">
---Building GCWU Theme---
</echo>
<ant dir="${src.dir}/theme-gcwu-fegc" antfile="build.xml" target="build" inheritAll="false"/>
<echo level="info">
---Building GCWU Intranet Theme---
</echo>
<ant dir="${src.dir}/theme-gcwu-intranet" antfile="build.xml" target="build" inheritAll="false"/>
<antcall target="clean-css"/>
</target>
<target name="clean-css">
<ant dir="${src.dir}/base" target="clean-css" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/grids" target="clean-css" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/js" target="clean-css" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-fegc" target="clean-css" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-intranet" target="clean-css" antfile="build.xml" inheritAll="false"/>
</target>
<target name="clean">
<ant dir="${src.dir}/base" target="clean" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/grids" target="clean" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/js" target="clean" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-fegc" target="clean" antfile="build.xml" inheritAll="false"/>
<ant dir="${src.dir}/theme-gcwu-intranet" target="clean" antfile="build.xml" inheritAll="false"/>
<delete dir="${dist.dir}" />
</target>
</project>