-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
50 lines (46 loc) · 1.55 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
<!--+
|
| +===========================+
| | Timeplot Build System |
| +===========================+
|
| This is just for bundling and minifying javascript and CSS files.
|
+-->
<project default="bundle" basedir="." name="Timeplot">
<target name="tasks">
<taskdef name="jsmin"
classname="edu.mit.simile.jsminTask.JSMinTask"
classpath="tools/jsmin-task/jsminTask.jar"/>
</target>
<target name="bundle" depends="tasks">
<jsmin output="src/webapp/api/timeplot-bundle.js">
<fileset dir="src/webapp/api/scripts">
<include name="timeplot.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="plot.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="sources.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="geometry.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="color.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="math.js" />
</fileset>
<fileset dir="src/webapp/api/scripts">
<include name="processor.js" />
</fileset>
</jsmin>
<concat destfile="src/webapp/api/timeplot-bundle.css">
<fileset dir="src/webapp/api/styles">
<include name="**/*.css" />
</fileset>
</concat>
</target>
</project>