]> git.mxchange.org Git - friendica.git/blob - build.xml
Enabled automated doc building. Changes:
[friendica.git] / build.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <project name="friendica" default="test">
4
5         <!-- =================================== -->
6         <!-- Target: test -->
7         <!-- this target runs all test files -->
8         <!-- =================================== -->
9
10         <target name="test">
11                 <!-- there are no tests by now, so, nothing to do -->
12         </target>
13
14         <!-- ===================================================== -->
15         <!-- Target: clean-doc -->
16         <!-- this target removes documentation from a previous run -->
17         <!-- ===================================================== -->
18         <target name="doc-clean">
19                 <echo msg="Removing old documentation..." />
20                 <delete dir="./doc/api/" />
21                 <echo msg="Generate documentation directory..." />
22                 <mkdir dir="./doc/api/" />
23         </target>
24
25         <!-- ====================================== -->
26         <!-- Target: doc -->
27         <!-- this target builds all documentation -->
28         <!-- ====================================== -->
29         <target name="doc" depends="doc-clean">
30                 <echo msg="Building documentation..." />
31                 <docblox title="Friendica API" destdir="./doc/api">
32                         <fileset dir=".">
33                                 <include name="**/*.php" />
34                         </fileset>
35                 </docblox>
36         </target>
37
38 </project>