Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a82ec63

Browse files
Update build.xml
1 parent caefb52 commit a82ec63

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

‎build.xml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
<!-- Properties -->
66
<property name="dir.base" value="${project.basedir}" />
77
<property name="dir.tests" value="${project.basedir}/tests" />
8-
<property name="dir.tests.unit" value="${dir.tests}" />
8+
<property name="dir.tests.unit" value="${dir.tests}/unit" />
99
<property name="dir.build" value="${project.basedir}/phing-build" />
1010
<property name="dir.docs" value="${dir.build}/docs" />
1111
<property name="dir.docs.phpdoc" value="${dir.docs}/phpdoc" />
1212
<property name="dir.reports.codecheck" value="${dir.build}/codecheck" />
1313
<property name="dir.reports.pdepend" value="${dir.build}/pdepend" />
1414
<property name="dir.reports.unit" value="${dir.build}/phpunit" />
1515
<property name="dir.reports.coverage" value="${dir.reports.unit}/coverage" />
16-
<property name="dir.reports.build" value="${dir.reports}/htmlreport" />
16+
<property name="dir.reports.pdepend.build" value="${dir.reports.pdepend}/htmlreport" />
1717

1818
<!-- ============================================ -->
1919
<!-- Fileset: sources (all php files but those in test) -->
@@ -70,7 +70,7 @@
7070
<target name="prepare-pdepend-dir" depends="prepare-build-dir" description="Create directories for pdepend results.">
7171
<echo msg="Creating pdepend results directory if it doesn't exist..." />
7272
<mkdir dir="${dir.reports.pdepend}" />
73-
<mkdir dir="${dir.reports.build}" />
73+
<mkdir dir="${dir.reports.pdepend.build}" />
7474
</target>
7575

7676
<!-- ============================================ -->
@@ -79,7 +79,7 @@
7979
<target name="all" depends="clean">
8080
<phingcall target="codecheck" />
8181
<phingcall target="tests" />
82-
<phingcall target="documentation" />
82+
<phingcall target="documentation" />
8383
</target>
8484

8585
<!-- ============================================ -->
@@ -90,7 +90,7 @@
9090
<phingcall target="codestyle" />
9191
<phingcall target="mess" />
9292
<phingcall target="copypaste" />
93-
<phingcall target="measure" />
93+
<phingcall target="measure" />
9494
</target>
9595

9696
<!-- ============================================ -->
@@ -154,22 +154,22 @@
154154
<phploc reportType="csv" reportName="phploc" reportDirectory="${dir.reports.codecheck}">
155155
<fileset refid="sources" />
156156
</phploc>
157-
<phpdepend>
158-
<fileset refid="sources" />
159-
<logger type="jdepend-xml" outfile="${dir.reports.pdepend}/jdepend.xml"/>
160-
<analyzer type="coderank-mode" value="method"/>
161-
</phpdepend>
157+
<phpdepend>
158+
<fileset refid="sources" />
159+
<logger type="jdepend-xml" outfile="${dir.reports.pdepend}/jdepend.xml"/>
160+
<analyzer type="coderank-mode" value="method"/>
161+
</phpdepend>
162162
</target>
163-
163+
164164
<!-- ============================================ -->
165165
<!-- Target: documentation (PHP Documentor parsing) -->
166166
<!-- ============================================ -->
167167
<target name="documentation" depends="prepare-doc-dir">
168-
<phpdoc2 title="Project Documentation" destdir="${dir.docs.phpdoc}" template="responsive-twig">
169-
<fileset refid="sources" />
170-
</phpdoc2>
168+
<phpdoc2 title="Project Documentation" destdir="${dir.docs.phpdoc}" template="responsive-twig">
169+
<fileset refid="sources" />
170+
</phpdoc2>
171171
</target>
172-
172+
173173
<!-- ============================================ -->
174174
<!-- Target: unittests (unit testing) -->
175175
<!-- ============================================ -->

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /