-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
47 lines (29 loc) · 1.01 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
<project name="jquery.plugin" default="help" basedir=".">
<description>jquery.plugin</description>
<!-- set global properties for this build -->
<property name="source.dir" location="src"/>
<property name="build.dir" location="build"/>
<property name="log.dir" location="logs"/>
<property name="lib.dir" location="lib"/>
<tstamp/>
<mkdir dir="${lib.dir}"/>
<mkdir dir="${log.dir}"/>
<mkdir dir="${build.dir}"/>
<import file="ant/build-depends.xml"/>
<import file="ant/build-jslint.xml"/>
<target name="help">
<echo message="use 'ant clean all' to build"/>
<echo message="use 'ant -p' to see build targets"/>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${log.dir}"/>
</target>
<target name="init">
<mkdir dir="${lib.dir}"/>
<mkdir dir="${log.dir}"/>
<mkdir dir="${build.dir}"/>
</target>
<target name="test" description="test the plugin" depends="jslint"/>
<target name="all" description="ant clean all" depends="clean,init,dependencies,test"/>
</project>