enforce_style.sh now deals with parsing files.

This commit is contained in:
Léonard Gérard 2010-11-02 11:31:59 +01:00
parent a22f7216f2
commit c677738903

View file

@ -1,2 +1,2 @@
#!/bin/sh
find . \! -path "*_build*" -and \( -iname "*.ml" -or -iname "*.mli" \) -exec perl -pi -e 's/( |\t)+$//gi; s/\t/ /g' {} \;
find . \! -path "*_build*" -and \( -iname "*.ml" -or -iname "*.mli" -or -iname "*.mly" -or -iname "*.mll" \) -exec perl -pi -e 's/( |\t)+$//gi; s/\t/ /g' {} \;