try to exclude with another method

This commit is contained in:
Regis Houssin 2012-09-28 16:13:31 +02:00
parent 666854f1fb
commit b994eeb15f
2 changed files with 17 additions and 1 deletions

View File

@ -2,6 +2,23 @@
<!DOCTYPE ruleset SYSTEM "ruleset.dtd">
<ruleset name="Dolibarr">
<description>Dolibarr coding standard.</description>
<!--
You can hard-code ignore patterns directly into your
custom standard so you don't have to specify the
patterns on the command line.
The following two tags are equivalent to the command line
argument: --ignore=*/tests/*,*/data/*
-->
<exclude-pattern>*/conf/*</exclude-pattern>
<exclude-pattern>*/filemanagerdol/*</exclude-pattern>
<exclude-pattern>*/includes/*</exclude-pattern>
<exclude-pattern>*/PEAR/*</exclude-pattern>
<exclude-pattern>*/NET/*</exclude-pattern>
<exclude-pattern>*/HTTP/*</exclude-pattern>
<exclude-pattern>*/zendgdata/*</exclude-pattern>
<exclude-pattern>*/reportico/*</exclude-pattern>
<!-- List of all tests -->

View File

@ -69,7 +69,6 @@
<target name="phpcs">
<exec executable="phpcs" dir="${basedir}">
<arg line=" --standard=${basedir}/dev/codesniffer/jenkins_ruleset.xml
--ignore=**/conf/*,**/filemanagerdol/*,**/includes/*,**/PEAR/*,**/NET/*,**/HTTP/*,**/zendgdata/*,**/reportico/*
--report=checkstyle
--report-file=${basedir}/hudson/logs/checkstyle.xml
-v