-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
43 lines (36 loc) · 1.11 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
<!--
File: build.xml
This file is used to build and minify the sidelab slick library for production use. The build file
is adapted from the jQuery build file which can be found at the following location:
http://github.com/jquery/jquery/blob/master/build.xml
-->
<project name="tile5-sandbox" default="build" basedir=".">
<target name="build" description="Sandbox Build">
<exec executable="sh" dir="tile5">
<arg line="build.sh" />
</exec>
<copy todir="js/tile5/dev">
<fileset dir="tile5/dist">
<exclude name="docs/**" />
</fileset>
</copy>
<copy todir="js/tile5/dev/style">
<fileset dir="tile5/src/style" />
</copy>
</target>
<target name="docs">
<exec executable="sh" dir="tile5">
<arg line="docs-build.sh" />
</exec>
<copy todir="docs/api/dev">
<fileset dir="tile5/dist/docs" />
<filterchain>
<tokenfilter>
<replacestring from="h1" to="h2" />
</tokenfilter>
</filterchain>
</copy>
<move file="docs/api/dev/_index.json" tofile="docs/api/dev/index.json" />
<move file="docs/api/dev/_index.html" tofile="docs/api/dev/index.html" />
</target>
</project>