Make build script exit with non-zero status when sniff fails.

This commit is contained in:
Andreas Fischer 2014-04-19 15:27:59 +02:00
parent a7c6de08a8
commit 81982ef86e

View File

@ -13,14 +13,14 @@
--extensions=php
--standard=build/code-sniffer-ruleset.xml
phpseclib/"
dir=".." passthru="true" />
dir=".." checkreturn="true" passthru="true" />
</target>
<target name="sniff-php-tests">
<exec command="vendor/bin/phpcs -s
--extensions=php
--standard=build/code-sniffer-ruleset-tests.xml
tests/"
dir=".." passthru="true" />
dir=".." checkreturn="true" passthru="true" />
</target>
</project>