commit 716db9049286af4c5af94b6ba9d02b4cba9b7597
parent 9924e1674cae657676779444f0890b4773176148
Author: Felicitus <felicitus@felicitus.de>
Date: Wed, 22 Sep 2010 09:42:29 +0200
Adjusted a few path names
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/build.xml b/build.xml
@@ -88,20 +88,24 @@
<!-- Checks all PHP files for messy code. -->
<target name="phpmd">
+ <mkdir dir="reports/logs"/>
+
<phpmd rulesets="codesize,unusedcode,design,naming">
<fileset dir="src/">
<include name="**/*.php" />
</fileset>
+ <formatter type="xml" outfile="reports/logs/pmd.xml"/>
</phpmd>
</target>
<!-- Checks all PHP files for copy/paste code -->
<target name="phpcpd">
+ <mkdir dir="reports/logs"/>
<phpcpd>
<fileset dir="src/">
<include name="**/*.php" />
</fileset>
- <formatter type="pmd" outfile="reports/pmd-cpd.xml"/>
+ <formatter type="pmd" outfile="reports/logs/pmd-cpd.xml"/>
</phpcpd>
</target>