forked from kallaspriit/APP5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
28 lines (22 loc) · 869 Bytes
/
build.xml
File metadata and controls
28 lines (22 loc) · 869 Bytes
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
<project name="APP5" basedir="." default="all">
<taskdef name="jshint" classname="com.philmander.jshint.JsHintAntTask" classpath="${basedir}/tools/jshint/ant-jshint-0.3.3-deps.jar" />
<target name="jshint">
<jshint dir="${basedir}" optionsFile="${basedir}/tools/jshint/options.properties" globals="require:true,define:true">
<include name="app/**/*.js"/>
<exclude name="app/lib/**"/>
</jshint>
</target>
<target name="build">
<exec executable="node.exe" failonerror="true">
<arg line="tools/build/r.js -o tools/build/app.build.js"/>
</exec>
</target>
<property name="yuidoc-path" location="tools\yuidoc\yuidoc.cmd"/>
<target name="doc">
<delete dir="${basedir}/docs"/>
<exec executable="${yuidoc-path}" failonerror="true">
<arg line="-N app"/>
</exec>
</target>
<target name="all" depends="jshint,build,doc"></target>
</project>