Skip to content

Commit

Permalink
build.xml file for phpDocumentator
Browse files Browse the repository at this point in the history
phpDocumentator was previously run from a cronjob. Switching to phing (and Jenkins) to make the process more transparent.
  • Loading branch information
dhaun committed Mar 1, 2016
1 parent 286ff8a commit 92f08f2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions phpdoc/build.xml
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>

<project name="PhpDoc" default="gendoc">

<property name="home_dir" value="/usr/home/geeklog2" />
<property name="phpdoc_home" value="${home_dir}/phpDocumentator" />
<property name="source_dir" value="${home_dir}/Jenkins/customworkspace/geeklog-nightly" />
<property name="target_dir" value="${home_dir}/public_html/www/src" />

<target name="gendoc">
<echo msg="Creating documentation ..." />
<exec command="${phpdoc_home}/phpdoc -t ${target_dir} -o HTML:Smarty:PHP -d ${source_dir} -i *language/*,system/build/,buildpackage.*,system/pear/,public_html/fckeditor/,public_html/editors/,public_html/images/ -dc Geeklog -dn Geeklog -ti 'Geeklog Source Code Documentation' -q" passthru="true" />
</target>

</project>

0 comments on commit 92f08f2

Please sign in to comment.