Skip to content
Snippets Groups Projects
Commit f235566a authored by Demian Katz's avatar Demian Katz
Browse files

Refactored phpdoc to separate Phing task; exclude more files from...

Refactored phpdoc to separate Phing task; exclude more files from documentation list to work around bugs.
parent 807adb11
No related merge requests found
......@@ -39,7 +39,6 @@
<!-- Create dirs -->
<mkdir dir="${builddir}/reports"/>
<mkdir dir="${builddir}/reports/coverage"/>
<mkdir dir="${builddir}/apidocs"/>
<!-- PHP CodeSniffer -->
<exec command="phpcs --standard=PEAR --extensions=php --report=checkstyle ${srcdir}/module/VuFind/src &gt; ${builddir}/reports/checkstyle.xml" escape="false" />
......@@ -48,16 +47,22 @@
<phingcall target="phpunit"/>
<!-- PHP API Documentation -->
<phingcall target="phpdoc"/>
</target>
<!-- PHP API Documentation -->
<target name="phpdoc">
<mkdir dir="${builddir}/apidocs"/>
<phpdoc2 title="VuFind API Documentation"
destdir="${builddir}/apidocs">
<fileset dir=".">
<include name="module/VuFind/src/**/*.php" />
<!-- These files break phpdoc2; exclude until we can figure out why: -->
<exclude name="module/VuFind/src/VuFind/Hierarchy/**/*.php" />
<exclude name="module/VuFind/src/VuFind/Log/Writer/Stream.php" />
<exclude name="module/VuFind/src/VuFind/SMS/*.php" />
</fileset>
</phpdoc2>
</target>
<!-- PHPUnit -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment