Skip to content

Commit

Permalink
Add phpdoc to ant build.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Oct 13, 2013
1 parent 18ea86d commit d506b9e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ vendor/*
# Code Coverage
build/code-browser/*
build/coverage/*
build/docs/*
build/logs/*
build/pdepend/*
!build/code-browser/.gitignore
Expand Down
15 changes: 13 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,20 @@
<exec executable="phpunit" failonerror="true" />
</target>

<target name="phpdoc" description="Run build phpdoc">
<exec executable="phpdoc">
<arg value="-d"/>
<arg value="src/,vendor/orchestra,vendor/illuminate"/>
<arg value="-i"/>
<arg value="*tests*"/>
<arg value="-t"/>
<arg value="${basedir}/build/docs"/>
</exec>
</target>

<target name="build"
depends="clean,composer-update,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb"/>
depends="clean,composer-update,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb,phpdoc"/>

<target name="quick-build"
depends="clean,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb"/>
depends="clean,composer-dumpautoload,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpunit,phpcb,phpdoc"/>
</project>

0 comments on commit d506b9e

Please sign in to comment.