forked from code-lts/jquery-fullscreen-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
54 lines (48 loc) · 1.5 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
51
52
53
54
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE project>
<project name="jquery.fullscreen" default="package">
<taskdef name="jscomp"
classname="com.google.javascript.jscomp.ant.CompileTask"
classpath="lib/compiler.jar" />
<target name="compile">
<delete file="jquery.fullscreen-min.js" />
<jscomp compilationLevel="advanced"
warning="verbose"
debug="false"
output="jquery.fullscreen-min.js">
<sources dir=".">
<file name="jquery.fullscreen.js" />
</sources>
<externs dir="externs">
<file name="jquery.js" />
</externs>
</jscomp>
</target>
<target name="test" depends="compile">
</target>
<target name="package" depends="test">
<jar destfile="jquery.fullscreen.jar">
<mappedresources>
<fileset dir=".">
<include name="jquery.fullscreen.js" />
</fileset>
<globmapper from="*" to="script-sources/*" />
</mappedresources>
<mappedresources>
<fileset dir=".">
<include name="jquery.fullscreen-min.js" />
</fileset>
<globmapper from="*-min.js" to="scripts/*.js" />
</mappedresources>
<mappedresources>
<fileset dir="externs">
<include name="jquery.fullscreen.js" />
</fileset>
<globmapper from="*" to="script-externs/*" />
</mappedresources>
</jar>
</target>
<target name="clean">
<delete file="jquery.fullscreen.jar" />
</target>
</project>