Created
September 16, 2011 10:08
-
-
Save kwk/1221737 to your computer and use it in GitHub Desktop.
Check PHP-files (added/modified/removed/or unknown) in Mercurial for PHP-Syntax errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in `hg st --no-status $(hg root)`; do mimetype $i | grep php > /dev/null && php -l $i; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment