Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZarubin Stas <zarubin@zsv.org.ua>2011-07-06 15:45:20 +0400
committerZarubin Stas <zarubin@zsv.org.ua>2011-07-06 15:45:20 +0400
commit161a63a85e175a3b563846d8ffae99c9d6c07ddd (patch)
treefaf271c08f946587bce126f3ae3edc16824a88f1 /build.xml
parentb00f268ccae0a670693268865bf93dfbd3d71a9b (diff)
Filter external libraries for phpcpd and phpcs
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 50aed41c91..69088ae56b 100644
--- a/build.xml
+++ b/build.xml
@@ -44,7 +44,11 @@
<target name="phpcpd" description="Generate pmd-cpd.xml using PHPCPD">
<exec executable="phpcpd">
- <arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml ${source}" />
+ <arg line="--log-pmd ${basedir}/build/logs/pmd-cpd.xml
+ --exclude test
+ --exclude libraries/PHPExcel
+ --exclude libraries/tcpdf
+ ${source}" />
</exec>
</target>
@@ -54,9 +58,11 @@
</exec>
</target>
- <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer">
- <exec executable="phpcs" output="/dev/null">
- <arg line="--report=checkstyle
+ <target name="phpcs" description="Generate checkstyle.xml using PHP_CodeSniffer excluding test, PHPExcel, tcpdf directories">
+ <exec executable="phpcs">
+ <arg line="-v
+ --ignore=*/PHPExcel/*,*/php-gettext/*,*/tcpdf/*
+ --report=checkstyle
--report-file=${basedir}/build/logs/checkstyle.xml
--standard=PEAR
${source}" />