diff options
author | friendica <info@friendica.com> | 2012-03-01 17:54:41 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-01 17:54:41 -0800 |
commit | a5256b7996bca6515becac8c2d5d0c56b31119ea (patch) | |
tree | b499e77cd4faf8157c2e048fb8242bc2ca2720cc /build.xml | |
parent | bd2c8c92f1b30d8f811bd4aab0fe3a2c5496ec61 (diff) | |
parent | dd9432903ddb3e12381881da44fb84afff832d52 (diff) | |
download | volse-hubzilla-a5256b7996bca6515becac8c2d5d0c56b31119ea.tar.gz volse-hubzilla-a5256b7996bca6515becac8c2d5d0c56b31119ea.tar.bz2 volse-hubzilla-a5256b7996bca6515becac8c2d5d0c56b31119ea.zip |
Merge pull request #54 from campino/master
Build documentation
This looks good. It may take me some time to get up to speed - and I'm not sure I have all the utilities available via my hosting provider.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 38 |
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> |