-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
28 lines (28 loc) · 955 Bytes
/
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="de.cqql.desktop" default="build" basedir=".">
<description>A desktop and window manager written in Javascript</description>
<target name="clear" description="Deleting files and folders from previous builds">
<delete dir="doc" />
<delete dir="build" />
<delete dir="logs" />
</target>
<target name="setup" depends="clear" description="">
<mkdir dir="doc" />
<mkdir dir="build" />
<mkdir dir="logs" />
</target>
<target name="doc" depends="setup" description="Building the docs">
<touch file="logs/jsdoctoolkit.log" />
<exec executable="java">
<arg line="-jar tools/jsdoc-toolkit/jsrun.jar" />
<arg line="tools/jsdoc-toolkit/app/run.js" />
<arg line="-c=jsdoctoolkit.cfg.json" />
</exec>
</target>
<target name="build" depends="setup">
<exec executable="node">
<arg line="tools/r.js/r.js" />
<arg line="-o default.build.json" />
</exec>
</target>
</project>