Cleaning tool

This commit is contained in:
Adrien Guatto 2010-06-30 15:36:07 +02:00
parent 6e9cd7f490
commit 7ab2efea40

4
tools/enforce_style.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
find \( -iname "*.ml" -or -iname "*.mli" \) -exec perl -pi -e 's/( |\t)+$//g' {} \;
find \( -iname "*.ml" -or -iname "*.mli" \) -exec perl -pi -e 's/\t/ /g' {} \;