Changeset 23318 for branches/version-2_13-dev/build.xml
- Timestamp:
- 2014/01/08 21:22:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/build.xml
r23317 r23318 25 25 tests/" /> 26 26 </target> 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=${basedir}/data/Smarty,${basedir}/data/smarty_extends,${basedir}/data/cache,${basedir}/data/module,${basedir}/data/mtb_constants_init.php" /> 34 <arg value="--report-file=reports/checkstyle.xml" /> 35 <arg path="data/" /> 27 <target name="phpcs-ci" description="Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server"> 28 <exec executable="phpcs" failonerror="off"> 29 <arg line="-v 30 --report-checkstyle=${basedir}/reports/checkstyle.xml 31 --standard=${basedir}/tests/ruleset.xml 32 --extensions=php 33 --ignore=${basedir}/data/Smarty,${basedir}/data/smarty_extends,${basedir}/data/cache,${basedir}/data/module,${basedir}/data/mtb_constants_init.php 34 ./data/" /> 36 35 </exec> 37 36 </target>
Note: See TracChangeset
for help on using the changeset viewer.