Changeset 23282


Ignore:
Timestamp:
2013/11/18 16:19:21 (10 years ago)
Author:
kimoto
Message:

#150 checkstyleがmodule以下も参照してしまっているのでbuild.xmlの書き方
を修正してみる
 http://jenkins-php.org/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/build.xml

    r22146 r23282  
    2525                       tests/" /> 
    2626  </target> 
    27   <target name="checkstyle"> 
    28     <exec command="phpcs --standard=tests/ruleset.xml 
    29     --report=checkstyle 
    30     --extensions=php 
    31     -pv data/ 
    32     --report-file=reports/checkstyle.xml 
    33     --ignore=data/module,data/Smarty,data/smarty_extends" /> 
     27  <target name="checkstyle" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server"> 
     28      <exec executable="phpcs" output="/dev/null"> 
     29          <arg value="--report=checkstyle" /> 
     30          <arg value="--standard=tests/ruleset.xml" /> 
     31          <arg value="--extensions=php" /> 
     32          <arg value="-pv" /> 
     33          <arg value="--ignore=data/module,data/Smarty,data/smarty_extends" /> 
     34          <arg value="--report-file=reports/checkstyle.xml" /> 
     35          <arg path="data/" /> 
     36      </exec> 
    3437  </target> 
    3538</project> 
Note: See TracChangeset for help on using the changeset viewer.