-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
50 lines (50 loc) · 2.17 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
49
50
<?xml version="1.0" encoding="UTF-8"?>
<project name="finder" default="dev_head" basedir=".">
<target name="dev_head" description="Builds test packages based on the development head" depends="rebuild-packages">
<echo msg="Deleting old master builds" />
<delete quiet="yes" includeemptydirs="true">
<fileset dir="*">
<include name="pkg_finder_master.zip" />
</fileset>
</delete>
<echo msg="Build Finder package" />
<zip destfile="pkg_finder_master.zip">
<fileset dir=".">
<include name="packages/**" />
<include name="language/**" />
<include name="pkg_finder.xml" />
</fileset>
</zip>
</target>
<target name="release" description="Builds release packages based on the development head" depends="rebuild-packages">
<echo msg="Build Finder package" />
<zip destfile="releases/pkg_finder_20110918.zip">
<fileset dir=".">
<include name="packages/**" />
<include name="language/**" />
<include name="pkg_finder.xml" />
</fileset>
</zip>
</target>
<target name="rebuild-packages" description="Delete old packages">
<echo msg="Deleting packages dir" />
<delete quiet="yes" includeemptydirs="true">
<fileset dir="*">
<include name="packages" />
</fileset>
</delete>
<echo msg="Creating extension packages" />
<mkdir dir="packages" />
<zip destfile="packages/com_finder.zip" basedir="com_finder" />
<zip destfile="packages/files_finder_hathor.zip" basedir="files_finder_hathor" />
<zip destfile="packages/mod_finder.zip" basedir="mod_finder" />
<zip destfile="packages/mod_finder_status.zip" basedir="mod_finder_status" />
<zip destfile="packages/plg_content_highlight.zip" basedir="plg_content_highlight" />
<zip destfile="packages/plg_finder_categories.zip" basedir="plg_finder_categories" />
<zip destfile="packages/plg_finder_contacts.zip" basedir="plg_finder_contacts" />
<zip destfile="packages/plg_finder_content.zip" basedir="plg_finder_content" />
<zip destfile="packages/plg_finder_newsfeeds.zip" basedir="plg_finder_newsfeeds" />
<zip destfile="packages/plg_finder_weblinks.zip" basedir="plg_finder_weblinks" />
<zip destfile="packages/plg_system_finder.zip" basedir="plg_system_finder" />
</target>
</project>