forked from Scarygami/mirror-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
22 lines (18 loc) · 691 Bytes
/
build.xml
File metadata and controls
22 lines (18 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<project basedir="." default="compile">
<!--
Ant build for javascript - used as a linting tool
-->
<taskdef name="jscomp" classname="com.google.javascript.jscomp.ant.CompileTask"
classpath="tools/compiler.jar"/>
<target name="compile" depends="glass" />
<target name="glass">
<!-- Use simple optimisations - just using to lint -->
<jscomp compilationLevel="simple" warning="verbose"
debug="false" output="${basedir}/mirror_api_server/static/glass/glass.min.js">
<sources dir="${basedir}/mirror_api_server/static/glass/">
<file name="glass.js"/>
</sources>
</jscomp>
</target>
</project>