aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-03-01 11:44:33 +0100
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-03-01 11:44:33 +0100
commite0c659b34b8992111bcc64d3f0eea75dfa193412 (patch)
tree91cc767530dd0bc8f98d1b11015af8b933a8f19a /build.xml
parent9986fc19109bc0d393f8ded89730178ba7f377f4 (diff)
downloadvolse-hubzilla-e0c659b34b8992111bcc64d3f0eea75dfa193412.tar.gz
volse-hubzilla-e0c659b34b8992111bcc64d3f0eea75dfa193412.tar.bz2
volse-hubzilla-e0c659b34b8992111bcc64d3f0eea75dfa193412.zip
Enabled automated doc building. Changes:
-build.xml, phing build file -@package tags at acl_selector.php and db_update.php -added documentation and some IDE files to .gitignore -automated tool to find files that corrupt the doc build process -removed ansi characters from SSH1.php, docBlox could not handle them
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/build.xml b/build.xml
new file mode 100644
index 000000000..83c530026
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="friendica" default="test">
+
+ <!-- =================================== -->
+ <!-- Target: test -->
+ <!-- this target runs all test files -->
+ <!-- =================================== -->
+
+ <target name="test">
+ <!-- there are no tests by now, so, nothing to do -->
+ </target>
+
+ <!-- ===================================================== -->
+ <!-- Target: clean-doc -->
+ <!-- this target removes documentation from a previous run -->
+ <!-- ===================================================== -->
+ <target name="doc-clean">
+ <echo msg="Removing old documentation..." />
+ <delete dir="./doc/api/" />
+ <echo msg="Generate documentation directory..." />
+ <mkdir dir="./doc/api/" />
+ </target>
+
+ <!-- ====================================== -->
+ <!-- Target: doc -->
+ <!-- this target builds all documentation -->
+ <!-- ====================================== -->
+ <target name="doc" depends="doc-clean">
+ <echo msg="Building documentation..." />
+ <docblox title="Friendica API" destdir="./doc/api">
+ <fileset dir=".">
+ <include name="**/*.php" />
+ </fileset>
+ </docblox>
+ </target>
+
+</project>