-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
34 lines (29 loc) · 1.12 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="backboneit_multimedia_jwplayer" default="build" basedir=".">
<property name="build.dir" value="build" />
<property name="build.module" value="${build.dir}/TL_ROOT/system/modules/backboneit_multimedia_jwplayer" />
<property name="minjs.dir" value="${build.module}/js" />
<property name="minjs.keepsrc" value="true" />
<property name="mincss.dir" value="${build.module}/css" />
<property name="mincss.keepsrc" value="true" />
<import file="ext/yui-compressor/yui.xml" />
<target name="clean">
<delete dir="${build.dir}" />
<mkdir dir="${build.dir}/TL_ROOT" />
</target>
<target name="build" depends="clean">
<copy todir="${build.dir}/TL_ROOT">
<fileset dir="TL_ROOT" includes="**/*.php" />
<filterchain>
<headfilter lines="-1" skip="1" />
<concatfilter prepend="publish/license_php.txt" />
</filterchain>
</copy>
<copy todir="${build.dir}/TL_ROOT">
<fileset dir="TL_ROOT" excludes="**/*.php" />
</copy>
<zip destfile="${build.dir}/backboneit_multimedia_jwplayer.zip">
<zipfileset dir="${build.dir}/TL_ROOT" />
</zip>
</target>
</project>