-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.xml
More file actions
45 lines (38 loc) · 1.33 KB
/
build.xml
File metadata and controls
45 lines (38 loc) · 1.33 KB
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="UpCloo Wordpress Plugin" default="dist" basedir=".">
<description>
UpCloo is a cloud based and fully hosted
indexing engine that helps you to create incredible
and automatic correlations between contents of your website.
</description>
<!-- set global properties for this build -->
<property name="src" location="upcloo"/>
<property name="version" value="1.3.1" />
<property name="dist" location="dist/${version}"/>
<target name="dist" depends="copy-resources, zip-resources">
</target>
<target name="zip-resources">
<zipfileset dir="${dist}" id="zip-upcloo"></zipfileset>
<zip destfile="${dist}/upcloo-${version}.zip">
<zipfileset refid="zip-upcloo"></zipfileset>
</zip>
</target>
<target name="copy-resources">
<fileset dir="upcloo" id="upcloo-base">
<include name="*"/>
<include name="UpCloo/**"/>
<include name="views/**"/>
<include name="options/**"/>
<include name="assets/**"/>
<include name="languages/**"/>
<exclude name="vendor"/>
<exclude name="**/*.swp"/>
<exclude name="**/*.swo"/>
</fileset>
<copy todir="${dist}/upcloo" verbose="true">
<fileset refid="upcloo-base" />
</copy>
</target>
<target name="clean">
<delete dir="${dist}" verbose="true" />
</target>
</project>