-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.xml
44 lines (37 loc) · 1.21 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="Horizon.addon" default="build" basedir=".">
<target name="load.properties">
<property file="build.properties" />
</target>
<target name="init" depends="load.properties,clean">
<mkdir dir="${build.dir}" />
</target>
<target name="build" depends="init">
<concat destfile="${build.dir}/ocean.js" encoding="UTF-8" fixlastline="true">
<filelist dir="${src.dir}">
<file name="_head.js" />
<file name="config.js" />
<file name="util.js" />
<file name="sandbox.js" />
<file name="loader.js" />
<file name="manager.js" />
<file name="aspect.js" />
<file name="bootstrap.js" />
<file name="_tail.js" />
</filelist>
</concat>
<concat destfile="${build.dir}/plugin-unicorn.js" encoding="UTF-8" fixlastline="true">
<filelist dir="${src.dir}/plugins">
<file name="plugin-unicorn.js" />
</filelist>
</concat>
<concat destfile="${build.dir}/plugin-lazy.js" encoding="UTF-8" fixlastline="true">
<filelist dir="${src.dir}/plugins">
<file name="plugin-lazy.js" />
</filelist>
</concat>
</target>
<target name="clean" depends="load.properties">
<delete dir="${build.dir}" quiet="true" />
</target>
</project>