1. David Lazar
  2. PircBot

Commits

David Lazar  committed cf4386f

Add ant target that generates the PircBot' javadocs.

  • Participants
  • Parent commits 7b9eba8
  • Branches default

Comments (0)

Files changed (1)

File build.xml

View file
   <property name="classes.dir" location="${build.dir}/classes"/>
   <property name="artifacts.dir" location="${build.dir}/artifacts"/>
   <property name="reports.dir" location="${build.dir}/reports"/>
+  <property name="docs.dir" location="${build.dir}/docs"/>
 
   <property name="ivy.install.version" value="2.2.0"/>
   <property name="ivy.jar.dir" value="${user.home}/.ant/lib"/>
     </ivy:publish>
   </target>
 
+  <target name="docs" description="--> generate PircBot API docs">
+    <javadoc sourcepath="${src.dir}" destdir="${docs.dir}" linksource="yes"/>
+  </target>
+
   <target name="clean" description="--> delete the build directory">
     <delete dir="${build.dir}"/>
   </target>