Permalink
Browse files

Fix #367

  • Loading branch information...
1 parent 18157d2 commit 66623ce12bb27e70d131533572954646540ab2ee Abdelrahman Elogeel committed Jun 5, 2012
Showing with 19 additions and 18 deletions.
  1. +6 −4 build.xml
  2. +13 −0 phpdoc.dist.xml
  3. +0 −14 phpdox.xml.dist
View
10 build.xml
@@ -2,7 +2,7 @@
<project name="azure-sdk-for-php" default="build">
<target name="build"
- depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpunit,phpcb,pear-package"/>
+ depends="prepare,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdoc,phpunit,phpcb,pear-package"/>
<target name="build-parallel"
depends="prepare,lint,tools-parallel,phpunit,phpcb"/>
@@ -146,9 +146,11 @@
</exec>
</target>
- <target name="phpdox"
- description="Generate API documentation using phpDox">
- <exec executable="phpdox.bat"/>
+ <target name="phpdoc" description="Generate API documentation using phpDoc">
+ <exec executable="phpdoc.bat">
+ <arg value="-t" />
+ <arg path="${basedir}/build/api" />
+ </exec>
</target>
<target name="phpunit" description="Run unit tests with PHPUnit">
View
13 phpdoc.dist.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<phpdoc>
+ <title>Windows Azure SDK for PHP</title>
+ <parser>
+ <target>build/api</target>
+ </parser>
+ <transformer>
+ <target>build/api</target>
+ </transformer>
+ <files>
+ <directory>WindowsAzure/</directory>
+ </files>
+</phpdoc>
View
14 phpdox.xml.dist
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="utf-8" ?>
-
-<phpdox xmlns="http://phpdox.de/config">
- <project name="azure-sdk-for-php" source="WindowsAzure" workdir="build/phpdox">
- <collector publiconly="false">
- <include mask="*.php" />
- <exclude mask="*WindowsAzure.php" />
- </collector>
-
- <generator output="build">
- <build engine="html" enabled="true" output="api"/>
- </generator>
- </project>
-</phpdox>

0 comments on commit 66623ce

Please sign in to comment.