Skip to content

Commit 0aa3693

Browse files
committed
Add javadoc generation target
1 parent 3a113f3 commit 0aa3693

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

build.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<property name="build.dir" value="build/classes"/>
1010
<property name="jar.dir" value="build/jar"/>
1111
<property name="dist.dir" value="dist"/>
12+
<property name="docs.dir" value="build/docs"/>
1213

1314
<condition property="isMac">
1415
<os family="mac"/>
@@ -52,6 +53,16 @@
5253
<java jar="${jar.dir}/${app.name}.jar" fork="true"/>
5354
</target>
5455

56+
<target name="javadoc" description="Generate API documentation with Javadoc">
57+
<mkdir dir="${docs.dir}"/>
58+
<javadoc destdir="${docs.dir}"
59+
sourcepath="${src.dir}"
60+
packagenames="*"
61+
use="true"
62+
author="true"
63+
version="true"/>
64+
</target>
65+
5566
<target name="package" description="Build the native installer for the current OS (DMG or DEB)">
5667
<antcall target="dmg"/>
5768
<antcall target="debian"/>

0 commit comments

Comments
 (0)