Permalink
Browse files

Halt build if phplint fails

  • Loading branch information...
1 parent d881260 commit 7353d1d1a4803f421074141ef2a344d0ed6743d4 @kasperg kasperg committed Sep 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 build.xml
View
@@ -173,15 +173,15 @@ Check files for syntax errors. -->
<target name="lint-php"
description="Check all PHP files for syntax errors using PHPLint"
depends="init">
- <phplint>
+ <phplint haltonfailure="true">
<fileset refid="src.php" />
</phplint>
</target>
<target name="lint-php-custom"
description="Check custom PHP files for syntax errors using PHPLint"
depends="init">
- <phplint>
+ <phplint haltonfailure="true">
<fileset refid="src.php.custom" />
</phplint>
</target>

0 comments on commit 7353d1d

Please sign in to comment.