aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-01 18:54:50 -0800
committerfriendica <info@friendica.com>2012-03-01 18:54:50 -0800
commit8207272fbc9cdc76988a2848552528e28951fe27 (patch)
tree1ddf5cab57f55349bcc6ee834ea0f2a9754a986b /build.xml
parent58e3372b23b286334e5195b1b8f70448715ed493 (diff)
parenta5256b7996bca6515becac8c2d5d0c56b31119ea (diff)
downloadvolse-hubzilla-8207272fbc9cdc76988a2848552528e28951fe27.tar.gz
volse-hubzilla-8207272fbc9cdc76988a2848552528e28951fe27.tar.bz2
volse-hubzilla-8207272fbc9cdc76988a2848552528e28951fe27.zip
Merge branch 'pull'
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>